📄 delay.asm
字号:
;***************************************************************
;* TMS320C54x ANSI C Codegen Version 3.70 *
;* Date/Time created: Sat Apr 05 13:25:49 2003 *
;***************************************************************
.mmregs
FP .set AR7
.c_mode
.file "delay.c"
; C:\TI\C5400\CGTOOLS\BIN\acp500.exe -q -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\TI566261_2 --template_info_file C:\WINDOWS\TEMP\TI566261_3 --object_file delay.obj --opt_shell 8 delay.c -g -k -q -ss -ic:/ti/c5400/bios/include -ic:/ti/c5400/rtdx/include -ic:/ti/c5400/cgtools/include delay.c
.sect ".text"
.global _waitloop
.sym _waitloop,_waitloop, 32, 2, 0
.func 12
;----------------------------------------------------------------------
; 12 | void waitloop( volatile unsigned long loopval )
;----------------------------------------------------------------------
;***************************************************************
;* FUNCTION DEF: _waitloop *
;***************************************************************
_waitloop:
.line 2
;* A assigned to _loopval
.sym _loopval,0, 15, 17, 32
.sym _loopval,0, 15, 1, 32
FRAME #-3
NOP
DST A,*SP(0) ; |13|
.line 3
;----------------------------------------------------------------------
; 14 | while( loopval )
;----------------------------------------------------------------------
DLD *SP(0),A ; |14|
BC L2,AEQ ; |14|
; branch occurs ; |14|
L1:
.line 5
;----------------------------------------------------------------------
; 16 | loopval--;
;----------------------------------------------------------------------
DLD *SP(0),A ; |16|
SUB #1,A ; |16|
DST A,*SP(0) ; |16|
.line 6
DLD *SP(0),A ; |17|
BC L1,ANEQ ; |17|
; branch occurs ; |17|
L2:
.line 7
FRAME #3
RET
; return occurs
.endfunc 18,000000000h,3
;***************************************************************
;* TYPE INFORMATION *
;***************************************************************
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -