📄 dspbird.asm
字号:
;***************************************************************
;* TMS320C54x ANSI C Codegen Version 3.70 *
;* Date/Time created: Thu Jun 22 17:54:18 2006 *
;***************************************************************
.mmregs
FP .set AR7
.c_mode
.file "dspbird.cpp"
.sect ".const"
.align 1
_SREG:
.field 0,16 ; _SREG @ 0
.sect ".text"
.sym _SREG,_SREG, 24, 3, 16, __TI_SREG
.sect ".const"
.align 1
_McBSP0:
.field 32,16 ; _McBSP0 @ 0
.sect ".text"
.sym _McBSP0,_McBSP0, 24, 3, 16, __TI_McBSP0
.sect ".const"
.align 1
_McBSP1:
.field 64,16 ; _McBSP1 @ 0
.sect ".text"
.sym _McBSP1,_McBSP1, 24, 3, 16, __TI_McBSP1
.sect ".const"
.align 1
_TIMER0:
.field 36,16 ; _TIMER0 @ 0
.sect ".text"
.sym _TIMER0,_TIMER0, 24, 3, 16, __TI_TIMER
.sect ".const"
.align 1
_TIMER1:
.field 48,16 ; _TIMER1 @ 0
.sect ".text"
.sym _TIMER1,_TIMER1, 24, 3, 16, __TI_TIMER
.global _IOXF
.bss _IOXF,1,0,0
.sym _IOXF,_IOXF, 4, 2, 16
.global _SystemRamTest
.bss _SystemRamTest,1,0,0
.sym _SystemRamTest,_SystemRamTest, 14, 2, 16
.global _Sys
.bss _Sys,1,0,0
.sym _Sys,_Sys, 8, 2, 16, _SystemObj
.global _Led
.bss _Led,1,0,0
.sym _Led,_Led, 8, 2, 16, _LedObj
.sect ".cinit"
.align 1
.field 1,16
.field _ledcount$1+0,16
.field 0,16 ; _ledcount$1 @ 0
.sect ".text"
.bss _ledcount$1,1,0,0
.sym _ledcount,_ledcount$1, 4, 3, 16
.sect ".cinit"
.align 1
.field 1,16
.field _count$2+0,16
.field 0,16 ; _count$2 @ 0
.sect ".text"
.bss _count$2,1,0,0
.sym _count,_count$2, 4, 3, 16
.sect ".cinit"
.align 1
.field 1,16
.field _ledcount$3+0,16
.field 0,16 ; _ledcount$3 @ 0
.sect ".text"
.bss _ledcount$3,1,0,0
.sym _ledcount,_ledcount$3, 4, 3, 16
.sect ".const"
.align 1
_LedTab$4:
.field 65472,16 ; _LedTab$4[0] @ 0
.field 65529,16 ; _LedTab$4[1] @ 16
.field 65444,16 ; _LedTab$4[2] @ 32
.field 65456,16 ; _LedTab$4[3] @ 48
.field 65433,16 ; _LedTab$4[4] @ 64
.field 65426,16 ; _LedTab$4[5] @ 80
.field 65410,16 ; _LedTab$4[6] @ 96
.field 65528,16 ; _LedTab$4[7] @ 112
.field 65408,16 ; _LedTab$4[8] @ 128
.field 65424,16 ; _LedTab$4[9] @ 144
.field 65416,16 ; _LedTab$4[10] @ 160
.field 65411,16 ; _LedTab$4[11] @ 176
.field 65478,16 ; _LedTab$4[12] @ 192
.field 65441,16 ; _LedTab$4[13] @ 208
.field 65414,16 ; _LedTab$4[14] @ 224
.field 65422,16 ; _LedTab$4[15] @ 240
.sect ".text"
.sym _LedTab,_LedTab$4, 62, 3, 256,, 16
; d:\ti\c5400\cgtools\bin\opt500.exe -O3 -Z C:\DOCUME~1\liu\LOCALS~1\Temp\TI568_2 C:\DOCUME~1\liu\LOCALS~1\Temp\TI568_4 -w D:/dspbird/Debug
.sect ".text"
.global _main
.sym _main,_main, 36, 2, 0
.func 307
;***************************************************************
;* FUNCTION DEF: _main *
;***************************************************************
_main:
.line 2
PSHM AR1
.line 4
rsbx intm
L1:
.line 7
nop
.line 9
nop
.line 11
LD *(_IOXF),A ; |317|
BC L2,ANEQ ; |317|
; branch occurs ; |317|
.line 15
STM #7,AR1
ANDM #57343,*AR1 ; |321|
B L3 ; |321|
; branch occurs ; |321|
L2:
.line 12
STM #7,AR1
ORM #8192,*AR1 ; |318|
L3:
.line 18
ADDM #1,*(_ledcount$1) ; |324|
.line 19
IDLE 1
.line 20
B L1 ; |326|
; branch occurs ; |326|
.endfunc 327,000000400h,1
.sect ".text"
.global _PllInit__9SystemObjFv
.sym _PllInit__9SystemObjFv,_PllInit__9SystemObjFv, 32, 2, 0
.func 132
;***************************************************************
;* FUNCTION DEF: _PllInit__9SystemObjFv *
;***************************************************************
_PllInit__9SystemObjFv:
.line 2
;* A assigned to _this
.sym _this,0, 24, 17, 16, _SystemObj
.sym _start,0, 14, 1, 16
PSHM AR1
FRAME #-1
.line 4
STM #40,AR1
ST #8192,*AR1 ; |135|
L4:
.line 6
STM #88,AR1
ST #0,*AR1 ; |137|
.line 7
nop
.line 8
STM #88,AR2
BIT *AR2,15 ; |139|
BC L4,TC ; |139|
; branch occurs ; |139|
.line 10
ST #37111,*AR1 ; |141|
.line 12
ST #0,*SP(0) ; |143|
STM #10000,AR0
MVDK *SP(0),*(AR1)
CMPR 1,AR1 ; |143|
BC L6,NTC ; |143|
; branch occurs ; |143|
L5:
ADDM #1,*SP(0) ; |143|
MVDK *SP(0),*(AR1)
CMPR 1,AR1 ; |143|
BC L5,TC ; |143|
; branch occurs ; |143|
L6:
.line 13
FRAME #1
POPM AR1
RET
; return occurs
.endfunc 144,000000400h,2
.sect ".text"
.global _McBSP0Init__9SystemObjFv
.sym _McBSP0Init__9SystemObjFv,_McBSP0Init__9SystemObjFv, 32, 2, 0
.func 146
;***************************************************************
;* FUNCTION DEF: _McBSP0Init__9SystemObjFv *
;***************************************************************
_McBSP0Init__9SystemObjFv:
.line 2
;* A assigned to _this
.sym _this,0, 24, 17, 16, _SystemObj
PSHM AR1
.line 3
STM #56,AR1
ST #0,*AR1 ; |148|
.line 4
STM #57,AR1
ST #0,*AR1 ; |149|
.line 5
ANDM #65534,*AR1 ; |150|
.line 6
STM #56,AR1
ST #1,*AR1 ; |151|
.line 7
STM #57,AR1
ST #0,*AR1 ; |152|
.line 8
ANDM #65534,*AR1 ; |153|
.line 9
STM #56,AR1
ST #14,*AR1 ; |154|
.line 10
STM #57,AR1
ST #12288,*AR1 ; |155|
.line 11
ORM #2560,*AR1 ; |156|
.line 12
ORM #1280,*AR1 ; |157|
.line 13
POPM AR1
RET
; return occurs
.endfunc 158,000000400h,1
.sect ".text"
.global _McBSP1Init__9SystemObjFv
.sym _McBSP1Init__9SystemObjFv,_McBSP1Init__9SystemObjFv, 32, 2, 0
.func 160
;***************************************************************
;* FUNCTION DEF: _McBSP1Init__9SystemObjFv *
;***************************************************************
_McBSP1Init__9SystemObjFv:
.line 2
;* A assigned to _this
.sym _this,0, 24, 17, 16, _SystemObj
PSHM AR1
.line 3
STM #72,AR1
ST #0,*AR1 ; |162|
.line 4
STM #73,AR1
ST #0,*AR1 ; |163|
.line 6
nop
.line 7
nop
.line 8
STM #72,AR1
ST #1,*AR1 ; |167|
.line 9
STM #73,AR1
ST #0,*AR1 ; |168|
.line 11
nop
.line 12
nop
.line 13
STM #72,AR1
ST #0,*AR1 ; |172|
.line 14
STM #73,AR1
ST #6144,*AR1 ; |173|
.line 15
nop
.line 16
nop
.line 17
STM #72,AR1
ST #14,*AR1 ; |176|
.line 20
STM #73,AR1
ST #2562,*AR1 ; |179|
.line 22
nop
.line 23
nop
.line 24
STM #72,AR1
ST #6,*AR1 ; |183|
.line 25
STM #73,AR1
ST #1920,*AR1 ; |184|
.line 26
nop
.line 27
nop
.line 28
STM #72,AR1
ST #7,*AR1 ; |187|
.line 29
STM #73,AR1
ST #8192,*AR1 ; |188|
.line 30
nop
.line 31
nop
.line 32
STM #72,AR1
ST #2,*AR1 ; |191|
.line 33
STM #73,AR1
ST #0,*AR1 ; |192|
.line 34
nop
.line 35
nop
.line 36
STM #72,AR1
ST #4,*AR1 ; |195|
.line 37
STM #73,AR1
ST #0,*AR1 ; |196|
.line 38
nop
.line 39
nop
.line 40
STM #72,AR1
ST #3,*AR1 ; |199|
.line 41
STM #73,AR1
ST #1,*AR1 ; |200|
.line 42
nop
.line 43
nop
.line 44
STM #72,AR1
ST #5,*AR1 ; |203|
.line 45
STM #73,AR1
ST #1,*AR1 ; |204|
.line 46
nop
.line 47
nop
.line 48
STM #72,AR1
ST #1,*AR1 ; |207|
.line 49
STM #73,AR1
ORM #193,*AR1 ; |208|
.line 50
nop
.line 51
nop
.line 52
POPM AR1
RET
; return occurs
.endfunc 211,000000400h,1
.sect ".text"
.global _TIMER0Init__9SystemObjFv
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -