⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 isr_process.asm

📁 该代码采用c5400dsp的汇编语言和c语言实现ucos操作系统
💻 ASM
字号:
;***************************************************************
;* TMS320C54x ANSI C Codegen                      Version 3.70 *
;* Date/Time created: Sat Apr 24 16:09:13 2004                 *
;***************************************************************
	.mmregs
FP	.set	AR7
	.c_mode
	.file	"isr_process.c"
;	C:\TI\C5400\CGTOOLS\BIN\acp500.exe -Ic:/ti/c5400/bios/include -Ic:/ti/c5400/rtdx/include -Ic:/ti/c5400/cgtools/include --keep_unneeded_types -m --i_output_file C:\WINDOWS\TEMP\TI1902249_2 --template_info_file C:\WINDOWS\TEMP\TI1902249_3 --object_file .\isr_process.obj --opt_shell 8 isr_process.c -g -k -as -fr. -ic:/ti/c5400/bios/include -ic:/ti/c5400/rtdx/include -ic:/ti/c5400/cgtools/include isr_process.c 
	.sect	".text"
	.global	_OSTickISR
	.sym	_OSTickISR,_OSTickISR, 32, 2, 0
	.func	5

;***************************************************************
;* FUNCTION DEF: _OSTickISR                                    *
;***************************************************************
_OSTickISR:
	.line	2
        NOP
        PSHM      AL
        PSHM      AH
        PSHM      AG
        PSHM      BL
        PSHM      BH
        PSHM      BG
        PSHM      AR0
        PSHM      AR1
        PSHM      AR2
        PSHM      AR3
        PSHM      AR4
        PSHM      AR5
        PSHM      AR6
        PSHM      AR7
        PSHM      FP
        PSHM      BK
        PSHM      T
        PSHM      ST0
        PSHM      ST1
        PSHM      BRC
        PSHM      PMST
        PSHM      RSA
        PSHM      REA
        ANDM      #32063,*(ST1)
        ORM       #16384,*(ST1)
        ANDM      #-4,*(PMST)
        LDM       SP,A
        ANDM      #-2,*(SP)
        NOP
        NOP
        PSHM      AL
        FRAME     #-1
	.line	3
        ADDM      #1,*(_OSIntNesting)   ; |7| 
	.line	4
        ADDM      #1,*(_btimer1ms)      ; |8| 
	.line	5
        CALL      #_OSTimeTick          ; |9| 
        ; call occurs [#_OSTimeTick] ; |9| 
	.line	6
        CALL      #_OSIntExit           ; |10| 
        ; call occurs [#_OSIntExit] ; |10| 
	.line	7
        FRAME     #1
        POPM      SP
        NOP
        POPM      REA
        POPM      RSA
        POPM      PMST
        POPM      BRC
        POPM      ST1
        POPM      ST0
        POPM      T
        POPM      BK
        POPM      FP
        POPM      AR7
        POPM      AR6
        POPM      AR5
        POPM      AR4
        POPM      AR3
        POPM      AR2
        POPM      AR1
        POPM      AR0
        POPM      BG
        POPM      BH
        POPM      BL
        POPM      AG
        POPM      AH
        POPM      AL
        RETE
        ; branch occurs
	.endfunc	11,0e39dffc7h,23


	.sect	".text"
	.global	_hpi_int
	.sym	_hpi_int,_hpi_int, 32, 2, 0
	.func	13

;***************************************************************
;* FUNCTION DEF: _hpi_int                                      *
;***************************************************************
_hpi_int:
	.line	2
        NOP
        PSHM      AL
        PSHM      AH
        PSHM      AG
        PSHM      BL
        PSHM      BH
        PSHM      BG
        PSHM      AR0
        PSHM      AR1
        PSHM      AR2
        PSHM      AR3
        PSHM      AR4
        PSHM      AR5
        PSHM      AR6
        PSHM      AR7
        PSHM      FP
        PSHM      BK
        PSHM      T
        PSHM      ST0
        PSHM      ST1
        PSHM      BRC
        PSHM      PMST
        PSHM      RSA
        PSHM      REA
        ANDM      #32063,*(ST1)
        ORM       #16384,*(ST1)
        ANDM      #-4,*(PMST)
        LDM       SP,A
        ANDM      #-2,*(SP)
        NOP
        NOP
        PSHM      AL
        FRAME     #-1
	.line	3
        ADDM      #1,*(_OSIntNesting)   ; |15| 
	.line	4
        ST        #1,*(_hpirecflag)     ; |16| 
	.line	5
        CALL      #_OSIntExit           ; |17| 
        ; call occurs [#_OSIntExit] ; |17| 
	.line	6
        FRAME     #1
        POPM      SP
        NOP
        POPM      REA
        POPM      RSA
        POPM      PMST
        POPM      BRC
        POPM      ST1
        POPM      ST0
        POPM      T
        POPM      BK
        POPM      FP
        POPM      AR7
        POPM      AR6
        POPM      AR5
        POPM      AR4
        POPM      AR3
        POPM      AR2
        POPM      AR1
        POPM      AR0
        POPM      BG
        POPM      BH
        POPM      BL
        POPM      AG
        POPM      AH
        POPM      AL
        RETE
        ; branch occurs
	.endfunc	18,0e39dffc7h,23


;***************************************************************
;* UNDEFINED EXTERNAL REFERENCES                               *
;***************************************************************
	.global	_OSTimeTick
	.global	_OSIntExit
	.global	_OSIntNesting
	.global	_btimer1ms
	.global	_hpirecflag

;***************************************************************
;* TYPE INFORMATION                                            *
;***************************************************************
	.sym	_INT8U, 0, 14, 13, 16

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -