📄 main.asm
字号:
CALL #_PllInit__9SystemObjFv ; |45|
; call occurs [#_PllInit__9SystemObjFv] ; |45|
.line 4
LD *SP(0),A
CALL #_TIMER0Init__9SystemObjFv ; |46|
; call occurs [#_TIMER0Init__9SystemObjFv] ; |46|
.line 5
LD *SP(0),A
CALL #_TIMER1Init__9SystemObjFv ; |47|
; call occurs [#_TIMER1Init__9SystemObjFv] ; |47|
.line 6
LD *SP(0),A
CALL #_EintInit__9SystemObjFv ; |48|
; call occurs [#_EintInit__9SystemObjFv] ; |48|
.line 10
CMPM *(_SystemRamTest),#21930 ; |52|
BC L13,TC ; |52|
; branch occurs ; |52|
.line 11
ST #21930,*(_SystemRamTest) ; |53|
L13:
.line 13
MVDK *SP(0),*(AR1)
CMPM *AR1,#21930 ; |55|
BC L14,TC ; |55|
; branch occurs ; |55|
.line 14
ST #21930,*AR1 ; |56|
L14:
.line 16
ST #0,*(_IOXF) ; |58|
.line 17
FRAME #2
POPM AR1
RET
; return occurs
.endfunc 59,000000400h,3
.sect ".text"
.global _PllInit__9SystemObjFv
.sym _PllInit__9SystemObjFv,_PllInit__9SystemObjFv, 32, 2, 0
.func 61
;***************************************************************
;* FUNCTION DEF: _PllInit__9SystemObjFv *
;***************************************************************
_PllInit__9SystemObjFv:
.line 2
;* A assigned to _this
.sym _this,0, 24, 17, 16, _SystemObj
.sym _this,0, 24, 1, 16, _SystemObj
.sym _start,1, 14, 1, 16
PSHM AR1
FRAME #-2
NOP
STL A,*SP(0)
.line 4
MVDM *(_SREG),AR1
NOP
ST #8192,*AR1(40) ; |64|
L15:
.line 6
MVDM *(_SREG),AR1
NOP
ST #0,*AR1(88) ; |66|
.line 7
nop
.line 8
MVDM *(_SREG),AR1
NOP
BITF *AR1(88),#1 ; |68|
BC L15,TC ; |68|
; branch occurs ; |68|
.line 11
ST #37111,*AR1(88) ; |71|
.line 13
ST #0,*SP(1) ; |73|
STM #10000,AR0
MVDK *SP(1),*(AR1)
CMPR 1,AR1 ; |73|
BC L17,NTC ; |73|
; branch occurs ; |73|
L16:
ADDM #1,*SP(1) ; |73|
MVDK *SP(1),*(AR1)
CMPR 1,AR1 ; |73|
BC L16,TC ; |73|
; branch occurs ; |73|
L17:
.line 14
FRAME #2
POPM AR1
RET
; return occurs
.endfunc 74,000000400h,3
.sect ".text"
.global _TIMER0Init__9SystemObjFv
.sym _TIMER0Init__9SystemObjFv,_TIMER0Init__9SystemObjFv, 32, 2, 0
.func 76
;***************************************************************
;* FUNCTION DEF: _TIMER0Init__9SystemObjFv *
;***************************************************************
_TIMER0Init__9SystemObjFv:
.line 2
;* A assigned to _this
.sym _this,0, 24, 17, 16, _SystemObj
.sym _this,0, 24, 1, 16, _SystemObj
PSHM AR1
FRAME #-1
NOP
STL A,*SP(0)
.line 3
MVDM *(_TIMER0),AR1
NOP
ORM #16,*AR1(2) ; |78|
.line 4
MVDM *(_TIMER0),AR1
NOP
ST #60000,*AR1(1) ; |79|
.line 5
MVDM *(_TIMER0),AR1
NOP
ANDM #65519,*AR1(2) ; |80|
.line 6
MVDM *(_SREG),AR1
NOP
ORM #8,*AR1 ; |81|
.line 7
FRAME #1
POPM AR1
RET
; return occurs
.endfunc 82,000000400h,2
.sect ".text"
.global _TIMER1Init__9SystemObjFv
.sym _TIMER1Init__9SystemObjFv,_TIMER1Init__9SystemObjFv, 32, 2, 0
.func 84
;***************************************************************
;* FUNCTION DEF: _TIMER1Init__9SystemObjFv *
;***************************************************************
_TIMER1Init__9SystemObjFv:
.line 2
;* A assigned to _this
.sym _this,0, 24, 17, 16, _SystemObj
.sym _this,0, 24, 1, 16, _SystemObj
PSHM AR1
FRAME #-1
NOP
STL A,*SP(0)
.line 3
MVDM *(_TIMER1),AR1
NOP
ORM #16,*AR1(2) ; |86|
.line 4
MVDM *(_TIMER1),AR1
NOP
ST #55000,*AR1(1) ; |87|
.line 5
MVDM *(_TIMER1),AR1
NOP
ANDM #65519,*AR1(2) ; |88|
.line 6
MVDM *(_SREG),AR1
NOP
ORM #128,*AR1 ; |89|
.line 7
FRAME #1
POPM AR1
RET
; return occurs
.endfunc 90,000000400h,2
.sect ".text"
.global _EintInit__9SystemObjFv
.sym _EintInit__9SystemObjFv,_EintInit__9SystemObjFv, 32, 2, 0
.func 92
;***************************************************************
;* FUNCTION DEF: _EintInit__9SystemObjFv *
;***************************************************************
_EintInit__9SystemObjFv:
.line 2
;* A assigned to _this
.sym _this,0, 24, 17, 16, _SystemObj
.sym _this,0, 24, 1, 16, _SystemObj
PSHM AR1
FRAME #-1
NOP
STL A,*SP(0)
.line 3
MVDM *(_SREG),AR1
NOP
ORM #1,*AR1 ; |94|
.line 4
MVDM *(_SREG),AR1
NOP
ORM #2,*AR1 ; |95|
.line 5
MVDM *(_SREG),AR1
NOP
ORM #4,*AR1 ; |96|
.line 6
MVDM *(_SREG),AR1
NOP
ORM #256,*AR1 ; |97|
.line 7
FRAME #1
POPM AR1
RET
; return occurs
.endfunc 98,000000400h,2
.sect ".text"
.global ___ct__6LcdObjFv
.sym ___ct__6LcdObjFv,___ct__6LcdObjFv, 104, 2, 0, _LcdObj
.func 102
;***************************************************************
;* FUNCTION DEF: ___ct__6LcdObjFv *
;***************************************************************
___ct__6LcdObjFv:
.line 2
;* A assigned to _this
.sym _this,0, 24, 17, 16, _LcdObj
.sym _this,0, 24, 1, 16, _LcdObj
FRAME #-1
NOP
STL A,*SP(0)
LD *SP(0),A ; |103|
BC L18,ANEQ ; |103|
; branch occurs ; |103|
CALLD #___nw__FUi ; |103|
NOP
LD #71,A
; call occurs [#___nw__FUi] ; |103|
STL A,*SP(0)
LDM AL,A ; |103|
BC L19,AEQ ; |103|
; branch occurs ; |103|
L18:
.line 3
LD *SP(0),A
CALL #_LcdInit__6LcdObjFv ; |104|
; call occurs [#_LcdInit__6LcdObjFv] ; |104|
L19:
LD *SP(0),A
.line 4
FRAME #1 ; |104|
RET ; |104|
; return occurs ; |104|
.endfunc 105,000000000h,1
.sect ".text"
.global _LcdInit__6LcdObjFv
.sym _LcdInit__6LcdObjFv,_LcdInit__6LcdObjFv, 32, 2, 0
.func 176
;***************************************************************
;* FUNCTION DEF: _LcdInit__6LcdObjFv *
;***************************************************************
_LcdInit__6LcdObjFv:
.line 2
;* A assigned to _this
.sym _this,0, 24, 17, 16, _LcdObj
.sym _this,2, 24, 1, 16, _LcdObj
FRAME #-3
NOP
STL A,*SP(2)
.line 3
CALLD #__delay_loop___FUi ; |178|
LD #1000,A
; call occurs [#__delay_loop___FUi] ; |178|
.line 4
LD *SP(2),A
CALL #_LcdSpiSetup__6LcdObjFv ; |179|
; call occurs [#_LcdSpiSetup__6LcdObjFv] ; |179|
.line 8
CALLD #__delay_loop___FUi ; |183|
LD #1000,A
; call occurs [#__delay_loop___FUi] ; |183|
.line 9
LD *SP(2),A
CALL #_LcdClearBuffer__6LcdObjFv ; |184|
; call occurs [#_LcdClearBuffer__6LcdObjFv] ; |184|
.line 10
ST #32,*SP(0) ; |185|
LD *SP(2),A
CALL #_LcdSendCommand__6LcdObjFUc ; |185|
; call occurs [#_LcdSendCommand__6LcdObjFUc] ; |185|
.line 12
LD *SP(2),A
ST #2,*SP(0) ; |187|
CALL #_LcdSendCommand__6LcdObjFUc ; |187|
; call occurs [#_LcdSendCommand__6LcdObjFUc] ; |187|
.line 13
ST #4,*SP(0) ; |188|
LD *SP(2),A
CALL #_LcdSendCommand__6LcdObjFUc ; |188|
; call occurs [#_LcdSendCommand__6LcdObjFUc] ; |188|
.line 14
LD *SP(2),A
ST #12,*SP(0) ; |189|
CALL #_LcdSendCommand__6LcdObjFUc ; |189|
; call occurs [#_LcdSendCommand__6LcdObjFUc] ; |189|
.line 15
LD *SP(2),A
ST #1,*SP(0) ; |190|
CALL #_LcdSendCommand__6LcdObjFUc ; |190|
; call occurs [#_LcdSendCommand__6LcdObjFUc] ; |190|
.line 16
LD *SP(2),A
ST #128,*SP(0) ; |191|
CALL #_LcdSendCommand__6LcdObjFUc ; |191|
; call occurs [#_LcdSendCommand__6LcdObjFUc] ; |191|
.line 21
ST #1,*SP(0) ; |196|
ST #0,*SP(1) ; |196|
LD *SP(2),A
CALL #_SetLcdDisplayPos__6LcdObjFUiT1 ; |196|
; call occurs [#_SetLcdDisplayPos__6LcdObjFUiT1] ; |196|
.line 22
ST #SL11,*SP(0) ; |197|
LD *SP(2),A
CALL #_LcdDisplay__6LcdObjFPCc ; |197|
; call occurs [#_LcdDisplay__6LcdObjFPCc] ; |197|
.line 24
ST #2,*SP(0) ; |199|
ST #0,*SP(1) ; |199|
LD *SP(2),A
CALL #_SetLcdDisplayPos__6LcdObjFUiT1 ; |199|
; call occurs [#_SetLcdDisplayPos__6LcdObjFUiT1] ; |199|
.line 25
ST #SL12,*SP(0) ; |200|
LD *SP(2),A
CALL #_LcdDisplay__6LcdObjFPCc ; |200|
; call occurs [#_LcdDisplay__6LcdObjFPCc] ; |200|
.line 27
ST #3,*SP(0) ; |202|
ST #0,*SP(1) ; |202|
LD *SP(2),A
CALL #_SetLcdDisplayPos__6LcdObjFUiT1 ; |202|
; call occurs [#_SetLcdDisplayPos__6LcdObjFUiT1] ; |202|
.line 29
ST #SL13,*SP(0) ; |204|
LD *SP(2),A
CALL #_LcdDisplay__6LcdObjFPCc ; |204|
; call occurs [#_LcdDisplay__6LcdObjFPCc] ; |204|
.line 30
FRAME #3
RET
; return occurs
.endfunc 205,000000000h,3
.sect ".text"
.global _LcdSpiSetup__6LcdObjFv
.sym _LcdSpiSetup__6LcdObjFv,_LcdSpiSetup__6LcdObjFv, 32, 2, 0
.func 107
;***************************************************************
;* FUNCTION DEF: _LcdSpiSetup__6LcdObjFv *
;***************************************************************
_LcdSpiSetup__6LcdObjFv:
.line 2
;* A assigned to _this
.sym _this,0, 24, 17, 16, _LcdObj
.sym _this,0, 24, 1, 16, _LcdObj
PSHM AR1
FRAME #-2
NOP
STL A,*SP(0)
.line 9
MVDM *(_McBSP1),AR1
NOP
ST #0,*AR1(8) ; |115|
.line 10
MVDM *(_McBSP1),AR1
NOP
ST #0,*AR1(9) ; |116|
.line 12
CALLD #__delay_loop___FUi ; |118|
NOP
LD #1,A
; call occurs [#__delay_loop___FUi] ; |118|
.line 13
MVDM *(_McBSP1),AR1
NOP
ST #1,*AR1(8) ; |119|
.line 14
MVDM *(_McBSP1),AR1
NOP
ST #0,*AR1(9) ; |120|
.line 16
CALLD #__delay_loop___FUi ; |122|
NOP
LD #1,A
; call occurs [#__delay_loop___FUi] ; |122|
.line 17
MVDM *(_McBSP1),AR1
NOP
ST #0,*AR1(8) ; |123|
.line 18
MVDM *(_McBSP1),AR1
NOP
ST #4096,*AR1(9) ; |124|
.line 19
CALLD #__delay_loop___FUi ; |125|
NOP
LD #1,A
; call occurs [#__delay_loop___FUi] ; |125|
.line 20
MVDM *(_McBSP1),AR1
NOP
ST #14,*AR1(8) ; |126|
.line 21
MVDM *(_McBSP1),AR1
NOP
ST #2562,*AR1(9) ; |127|
.line 25
CALLD #__delay_loop___FUi ; |131|
NOP
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -