?? test.asm
字號:
;***************************************************************
;* TMS320C54x ANSI C Codegen Version 1.10 *
;* Date/Time created: Sat Jun 12 16:21:45 1999 *
;***************************************************************
.mmregs
FP .set AR7
; D:\DSP\EXEC\ASM\ac500.exe test C:\WINDOWS\TEMP\test.if
.file "test.c"
.file "..\include\TMS320.H"
.sym _uint,0,14,13,16
.sym _ushort,0,13,13,16
.sym _DATA,0,3,13,16
.sym _LDATA,0,5,13,32
.file "..\include\c54math.h"
.global _add
.global _sub
.global _neg
.global _neg32
.global _bexp
.global _recip16
.global _expn
.global _logn
.global _log_2
.global _log_10
.global _sqrt_16
.global _maxidx
.global _maxval
.global _minidx
.global _minval
.global _rand16
.global _rand16init
.global _mul32
.global _power
.global _mmul
.global _mtrans
.global _sine
.global _atan16
.global _atan2_16
.global _fltoq15
.global _q15tofl
.file "test.dat"
.sect ".cinit"
.align 1
.field IR1,16
.field _x+0,16
.xlong 0x3f000000 ; _x[0] @ 0
.xlong 0x3e800000 ; _x[1] @ 32
.xlong 0x3e000000 ; _x[2] @ 64
.xlong 0x3d800000 ; _x[3] @ 96
.xlong 0x3d000000 ; _x[4] @ 128
.xlong 0x3c800000 ; _x[5] @ 160
.xlong 0x3c000000 ; _x[6] @ 192
.xlong 0x3b800000 ; _x[7] @ 224
.xlong 0x3c23d70a ; _x[8] @ 256
.xlong 0xbf000000 ; _x[9] @ 288
.xlong 0xbe800000 ; _x[10] @ 320
.xlong 0xbe000000 ; _x[11] @ 352
.xlong 0xbd800000 ; _x[12] @ 384
.xlong 0xbd000000 ; _x[13] @ 416
.xlong 0xbc800000 ; _x[14] @ 448
.xlong 0xbc000000 ; _x[15] @ 480
.xlong 0xbb800000 ; _x[16] @ 512
.xlong 0xbc23d70a ; _x[17] @ 544
IR1: .set 36
.sect ".text"
.global _x
.bss _x,64,0,1
.sym _x,_x,54,2,1024,,32
.sect ".cinit"
.align 1
.field IR2,16
.field _r+0,16
.field 0,16 ; _r[0] @ 0
IR2: .set 1
.sect ".text"
.global _r
.bss _r,32,0,0
.sym _r,_r,51,2,512,,32
.global _dptr
.global _oflag
.file "test.c"
.global _main
.sym _main,_main,32,2,0
.func 4
;***************************************************************
;* FUNCTION DEF: _main *
;***************************************************************
_main:
FRAME #-3
.line 4
ST #_r,*(_dptr)
.line 6
ST #32,*SP(1)
ST #_r,*SP(0)
LD #_x,A
CALL #_fltoq15
; call occurs [#_fltoq15]
LD A,A
STL A,*(_oflag)
.line 7
ST #32,*SP(1)
ST #_x,*SP(0)
LD #_r,A
CALL #_q15tofl
; call occurs [#_q15tofl]
LD A,A
STL A,*(_oflag)
L2:
.line 9
B L2
; branch occurs
.line 11
.endfunc 14,000000000h,3
.global _dptr
.bss _dptr,1,0,0
.sym _dptr,_dptr,19,2,16
.global _oflag
.bss _oflag,1,0,0
.sym _oflag,_oflag,3,2,16
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -