📄 main.asm
字号:
.dw '.stabn 0x44,0,99,',0,0
.dd LM26-_main
.dw 0x0d,0x0a
.code
LM26:
R1=[_sSysFlags] // QImode move
R2=4 // QImode move
[_sSysFlags]=R1|R2
L17:
.debug
.dw '.stabn 0x44,0,101,',0,0
.dd LM27-_main
.dw 0x0d,0x0a
.code
LM27:
R1=[_uiTwoSecondTimeFlag] // QImode move
CMP R1,1 // QImode compare
JZ L32 // QImode NE
PC=L11
L32:
.debug
.dw '.stabn 0x44,0,103,',0,0
.dd LM28-_main
.dw 0x0d,0x0a
.code
LM28:
R1=0 // QImode move
[_uiTwoSecondTimeFlag]=R1 // QImode move
.debug
.dw '.stabn 0x44,0,104,',0,0
.dd LM29-_main
.dw 0x0d,0x0a
.code
LM29:
call _F_UART_DataSample // call without return value
L18:
L13:
L11:
.debug
.dw '.stabn 0x44,0,109,',0,0
.dd LM30-_main
.dw 0x0d,0x0a
.code
LM30:
R1=[_sSysFlags+2] // QImode move
CMP R1,1 // QImode compare
JZ L33 // QImode NE
PC=L19
L33:
.debug
.dw '.stabn 0x44,0,111,',0,0
.dd LM31-_main
.dw 0x0d,0x0a
.code
LM31:
call _F_SystemFlag_Initial // call without return value
.debug
.dw '.stabn 0x44,0,112,',0,0
.dd LM32-_main
.dw 0x0d,0x0a
.code
LM32:
R1=10 // QImode move
[SP--]=R1 // QImode move
call _F_PlayRespond // call without return value
SP=SP+1
L19:
.debug
.dw '.stabn 0x44,0,114,',0,0
.dd LM33-_main
.dw 0x0d,0x0a
.code
LM33:
R1=[_sSysFlags] // QImode move
R2=3 // QImode move
[SP--]=R2 // QImode move
[SP--]=R1 // QImode move
call __rshu1 // call with return value
SP=SP+2
R2=R1&1
CMP R2,1 // QImode compare
JZ L34 // QImode NE
PC=L20
L34:
.debug
.dw '.stabn 0x44,0,116,',0,0
.dd LM34-_main
.dw 0x0d,0x0a
.code
LM34:
call _F_SystemFlag_Initial // call without return value
.debug
.dw '.stabn 0x44,0,117,',0,0
.dd LM35-_main
.dw 0x0d,0x0a
.code
LM35:
R1=7 // QImode move
[SP--]=R1 // QImode move
call _F_PlayRespond // call without return value
SP=SP+1
L20:
.debug
.dw '.stabn 0x44,0,119,',0,0
.dd LM36-_main
.dw 0x0d,0x0a
.code
LM36:
R1=[_sSysFlags] // QImode move
R2=5 // QImode move
[SP--]=R2 // QImode move
[SP--]=R1 // QImode move
call __rshu1 // call with return value
SP=SP+2
R2=R1&1
CMP R2,1 // QImode compare
JZ L35 // QImode NE
PC=L21
L35:
.debug
.dw '.stabn 0x44,0,121,',0,0
.dd LM37-_main
.dw 0x0d,0x0a
.code
LM37:
call _F_Led_Show_Handle // call without return value
L21:
.debug
.dw '.stabn 0x44,0,123,',0,0
.dd LM38-_main
.dw 0x0d,0x0a
.code
LM38:
R1=[_sSysFlags] // QImode move
R2=5 // QImode move
[SP--]=R2 // QImode move
[SP--]=R1 // QImode move
call __rshu1 // call with return value
SP=SP+2
R2=R1&1
CMP R2,0 // QImode test
JZ L36 // QImode NE
PC=L22
L36:
.debug
.dw '.stabn 0x44,0,125,',0,0
.dd LM39-_main
.dw 0x0d,0x0a
.code
LM39:
call _F_Led_Show_NotReady // call without return value
L22:
.debug
.dw '.stabn 0x44,0,128,',0,0
.dd LM40-_main
.dw 0x0d,0x0a
.code
LM40:
R1=[_sSysFlags] // QImode move
R2=4 // QImode move
[SP--]=R2 // QImode move
[SP--]=R1 // QImode move
call __rshu1 // call with return value
SP=SP+2
R2=R1&1
CMP R2,1 // QImode compare
JZ L37 // QImode NE
PC=L23
L37:
.debug
.dw '.stabn 0x44,0,130,',0,0
.dd LM41-_main
.dw 0x0d,0x0a
.code
LM41:
call _F_Led_Show_NotReady // call without return value
.debug
.dw '.stabn 0x44,0,131,',0,0
.dd LM42-_main
.dw 0x0d,0x0a
.code
LM42:
call _F_SpeechPlayChannelData // call without return value
L23:
.debug
.dw '.stabn 0x44,0,134,',0,0
.dd LM43-_main
.dw 0x0d,0x0a
.code
LM43:
pc=L7 // jump
L8:
.debug
.dw '.stabn 0x44,0,135,',0,0
.dd LM44-_main
.dw 0x0d,0x0a
.code
LM44:
LBE2:
.debug
.dw '.stabn 0x44,0,135,',0,0
.dd LM45-_main
.dw 0x0d,0x0a
.code
LM45:
L2:
sp+=3
pop bp from [sp]
retf
.endp // end of main
.debug
.dw '.stabn 0xc0,0,0,',0,0
.dd LBB2-_main
.dw 0x0d,0x0a
.code
.debug
.dw '.stabs "i:4",128,0,0,0',0x0d,0x0a
.CODE
.debug
.dw '.stabs "j:4",128,0,0,1',0x0d,0x0a
.CODE
.debug
.dw '.stabn 0xe0,0,0,',0,0
.dd LBE2-_main
.dw 0x0d,0x0a
.code
.debug
.dw '.stabf ',0,0
.dd LME1-_main
.dw 0x0d,0x0a
.code
LME1:
.code
.debug
.dw '.stabs "F_SystemFlag_Initial:F19",36,0,0,',0,0,offset _F_SystemFlag_Initial,seg _F_SystemFlag_Initial,0x0d,0x0a
.CODE
.public _F_SystemFlag_Initial
_F_SystemFlag_Initial: .proc
.debug
.dw '.stabn 0x44,0,137,',0,0
.dd LM46-_F_SystemFlag_Initial
.dw 0x0d,0x0a
.code
LM46:
// total=0, vars=0
// frame_pointer_needed: 1
push bp to [sp]
bp=sp+1
R1=BP+3
.debug
.dw '.stabn 0x44,0,138,',0,0
.dd LM47-_F_SystemFlag_Initial
.dw 0x0d,0x0a
.code
LM47:
R2=1 // QImode move
[_uiTwoSecondTimeFlag]=R2 // QImode move
.debug
.dw '.stabn 0x44,0,139,',0,0
.dd LM48-_F_SystemFlag_Initial
.dw 0x0d,0x0a
.code
LM48:
R2=0 // QImode move
[_uiStartSampleFlag]=R2 // QImode move
.debug
.dw '.stabn 0x44,0,140,',0,0
.dd LM49-_F_SystemFlag_Initial
.dw 0x0d,0x0a
.code
LM49:
R2=[_sSysFlags] // QImode move
R3=(-2) // QImode move
[_sSysFlags]=R2&R3
.debug
.dw '.stabn 0x44,0,141,',0,0
.dd LM50-_F_SystemFlag_Initial
.dw 0x0d,0x0a
.code
LM50:
R2=[_sSysFlags] // QImode move
R3=(-3) // QImode move
[_sSysFlags]=R2&R3
.debug
.dw '.stabn 0x44,0,142,',0,0
.dd LM51-_F_SystemFlag_Initial
.dw 0x0d,0x0a
.code
LM51:
R2=[_sSysFlags] // QImode move
R3=(-5) // QImode move
[_sSysFlags]=R2&R3
.debug
.dw '.stabn 0x44,0,143,',0,0
.dd LM52-_F_SystemFlag_Initial
.dw 0x0d,0x0a
.code
LM52:
R2=[_sSysFlags] // QImode move
R3=(-9) // QImode move
[_sSysFlags]=R2&R3
.debug
.dw '.stabn 0x44,0,144,',0,0
.dd LM53-_F_SystemFlag_Initial
.dw 0x0d,0x0a
.code
LM53:
R2=0 // QImode move
[_sSysFlags+1]=R2 // QImode move
.debug
.dw '.stabn 0x44,0,145,',0,0
.dd LM54-_F_SystemFlag_Initial
.dw 0x0d,0x0a
.code
LM54:
R2=0 // QImode move
[_sSysFlags+2]=R2 // QImode move
.debug
.dw '.stabn 0x44,0,146,',0,0
.dd LM55-_F_SystemFlag_Initial
.dw 0x0d,0x0a
.code
LM55:
R2=0 // QImode move
[_sSysFlags+3]=R2 // QImode move
.debug
.dw '.stabn 0x44,0,147,',0,0
.dd LM56-_F_SystemFlag_Initial
.dw 0x0d,0x0a
.code
LM56:
R2=0 // QImode move
[_sSysFlags+4]=R2 // QImode move
.debug
.dw '.stabn 0x44,0,148,',0,0
.dd LM57-_F_SystemFlag_Initial
.dw 0x0d,0x0a
.code
LM57:
R2=[_sSysFlags] // QImode move
R3=(-17) // QImode move
[_sSysFlags]=R2&R3
.debug
.dw '.stabn 0x44,0,149,',0,0
.dd LM58-_F_SystemFlag_Initial
.dw 0x0d,0x0a
.code
LM58:
R2=[_sSysFlags] // QImode move
R3=(-33) // QImode move
[_sSysFlags]=R2&R3
.debug
.dw '.stabn 0x44,0,150,',0,0
.dd LM59-_F_SystemFlag_Initial
.dw 0x0d,0x0a
.code
LM59:
.debug
.dw '.stabn 0x44,0,150,',0,0
.dd LM60-_F_SystemFlag_Initial
.dw 0x0d,0x0a
.code
LM60:
L38:
pop bp from [sp]
retf
.endp // end of F_SystemFlag_Initial
.debug
.dw '.stabf ',0,0
.dd LME2-_F_SystemFlag_Initial
.dw 0x0d,0x0a
.code
LME2:
.debug
.dw '.stabs "sSysFlags:G21",32,0,0,',0,0,offset _sSysFlags,seg _sSysFlags,0x0d,0x0a
.CODE
.ram
.public _sSysFlags
_sSysFlags:
.dw 5 dup(0)
.external _F_SpeechPlayChannelData
.external _F_Led_Show_NotReady
.external _F_Led_Show_Handle
.external _F_UART_DataSample
.external _F_KeyHandle
.external _F_Get_KeyValue
.external _F_Key_Scan
.external _F_PlayRespond
.external _F_UART_Initial
.external _F_SPCE061A_Initial
.external __rshu1
.end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -