📄 amisr_ssi.src
字号:
;
; Copyright (c) Renesas Technology Corp. 2001-2003 All Rights Reserved.
;
; OEM Adaptation Layer
;
; ----------------------------------------------------------------------------
;
; FILE : AMISR_SSI.SRC
; CREATED : 2001. 7. 5
; MODIFIED : 2003.08.06
; AUTHOR : Renesas Technology Corp.
; HARDWARE : RENESAS US7751-HRP1xC (BigSur with HD64404, ITS-DS2A),
; RENESAS HS7751RSTC01H (S1-E, ITS-DS5)
; TARGET OS : Microsoft(R) Windows(R) CE .NET 4.2
; NOTES :
; FUNCTION : Interrupt service routine for HD64404 Serial Sound Interface
; HISTORY :
; 2001. 7. 5
; - Initially created.
; 2001.10.26
; - Error avoidance process is added.
; 2002. 1.10
; - Device include file is renamed to "HD64404.INC".
; - Filename is changed to "AMISR_SSI.SRC".
; 2002. 5.30
; - Changed to include platform-independent platform include
; file "PLATFORM.INC".
; 2002. 9. 9
; - Header style is changed and file information is added.
; 2002. 9.26
; - Released
.include "kxshx.h"
.include "oalintr.inc"
.include "platform.inc"
.include "hd64404.inc"
SSI0_STATUS .equ (HD64404_REGBASE+HD64404_SSI0_OFFSET+4)
SSI1_STATUS .equ (HD64404_REGBASE+HD64404_SSI1_OFFSET+4)
SSI2_STATUS .equ (HD64404_REGBASE+HD64404_SSI2_OFFSET+4)
SSI3_STATUS .equ (HD64404_REGBASE+HD64404_SSI3_OFFSET+4)
LEAF_ENTRY HD64404_SSI0ISR
mov.l #SSI0_STATUS, r0 ; Sets the address of status to R0
mov.l #0, r1
mov.l r1, @r0 ; Clear the status
mov.l @r0, r1 ; Dummy read
rts
mov #SYSINTR_NOP, r0 ; Return nop
ENTRY_END
LEAF_ENTRY HD64404_SSI1ISR
mov.l #SSI1_STATUS, r0 ; Sets the address of status to R0
mov.l #0, r1
mov.l r1, @r0 ; Clear the status
mov.l @r0, r1 ; Dummy read
rts
mov #SYSINTR_NOP, r0 ; Return nop
ENTRY_END
LEAF_ENTRY HD64404_SSI2ISR
mov.l #SSI2_STATUS, r0 ; Sets the address of status to R0
mov.l #0, r1
mov.l r1, @r0 ; Clear the status
mov.l @r0, r1 ; Dummy read
rts
mov #SYSINTR_NOP, r0 ; Return nop
ENTRY_END
LEAF_ENTRY HD64404_SSI3ISR
mov.l #SSI3_STATUS, r0 ; Sets the address of status to R0
mov.l #0, r1
mov.l r1, @r0 ; Clear the status
mov.l @r0, r1 ; Dummy read
rts
mov #SYSINTR_NOP, r0 ; Return nop
ENTRY_END
.end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -