📄 main.asm
字号:
[SP--]=R1 // QImode move
call _PlaySnd // call without return value
SP=SP+2
.debug
.dw '.stabn 0x44,0,87,',0,0
.dd LM31-_main
.dw 0x0d,0x0a
.code
LM31:
call _PlayCost // call without return value
.debug
.dw '.stabn 0x44,0,88,',0,0
.dd LM32-_main
.dw 0x0d,0x0a
.code
LM32:
R1=2 // QImode move
[SP--]=R1 // QImode move
R1=18 // QImode move
[SP--]=R1 // QImode move
call _PlaySnd // call without return value
SP=SP+2
L11:
L10:
L8:
.debug
.dw '.stabn 0x44,0,91,',0,0
.dd LM33-_main
.dw 0x0d,0x0a
.code
LM33:
pc=L6 // Indirect jump
L12:
.debug
.dw '.stabn 0x44,0,93,',0,0
.dd LM34-_main
.dw 0x0d,0x0a
.code
LM34:
R1=BP // QImode move
R2=BP+1
R3=R2 // QImode move
R1=[R3] // QImode move
CMP R1,3 // QImode compare
JZ L33 // QImode NE
PC=L13
L33:
.debug
.dw '.stabn 0x44,0,95,',0,0
.dd LM35-_main
.dw 0x0d,0x0a
.code
LM35:
R1=[_SysStatus] // QImode move
CMP R1,0 // QImode test
JZ L34 // QImode NE
PC=L14
L34:
.debug
.dw '.stabn 0x44,0,97,',0,0
.dd LM36-_main
.dw 0x0d,0x0a
.code
LM36:
R1=2 // QImode move
[_SysStatus]=R1 // QImode move
.debug
.dw '.stabn 0x44,0,98,',0,0
.dd LM37-_main
.dw 0x0d,0x0a
.code
LM37:
R1=[_SysStatus] // QImode move
[SP--]=R1 // QImode move
call _InterFace_UpdateStatus // call without return value
SP=SP+1
.debug
.dw '.stabn 0x44,0,99,',0,0
.dd LM38-_main
.dw 0x0d,0x0a
.code
LM38:
call _InterFace_SystemSet // call without return value
.debug
.dw '.stabn 0x44,0,100,',0,0
.dd LM39-_main
.dw 0x0d,0x0a
.code
LM39:
R1=0 // QImode move
[_SysStatus]=R1 // QImode move
.debug
.dw '.stabn 0x44,0,101,',0,0
.dd LM40-_main
.dw 0x0d,0x0a
.code
LM40:
R1=[_SysStatus] // QImode move
[SP--]=R1 // QImode move
call _InterFace_UpdateStatus // call without return value
SP=SP+1
.debug
.dw '.stabn 0x44,0,102,',0,0
.dd LM41-_main
.dw 0x0d,0x0a
.code
LM41:
pc=L13 // Indirect jump
L14:
.debug
.dw '.stabn 0x44,0,103,',0,0
.dd LM42-_main
.dw 0x0d,0x0a
.code
LM42:
R1=[_SysStatus] // QImode move
CMP R1,1 // QImode compare
JZ L35 // QImode NE
PC=L13
L35:
.debug
.dw '.stabn 0x44,0,105,',0,0
.dd LM43-_main
.dw 0x0d,0x0a
.code
LM43:
R1=10 // QImode move
[SP--]=R1 // QImode move
call _Speed_Down // call without return value
SP=SP+1
L16:
L15:
L13:
.debug
.dw '.stabn 0x44,0,108,',0,0
.dd LM44-_main
.dw 0x0d,0x0a
.code
LM44:
pc=L6 // Indirect jump
L17:
.debug
.dw '.stabn 0x44,0,110,',0,0
.dd LM45-_main
.dw 0x0d,0x0a
.code
LM45:
R1=BP // QImode move
R2=BP+1
R3=R2 // QImode move
R1=[R3] // QImode move
CMP R1,3 // QImode compare
JZ L36 // QImode NE
PC=L18
L36:
.debug
.dw '.stabn 0x44,0,112,',0,0
.dd LM46-_main
.dw 0x0d,0x0a
.code
LM46:
R1=[_SysStatus] // QImode move
CMP R1,0 // QImode test
JZ L37 // QImode NE
PC=L19
L37:
.debug
.dw '.stabn 0x44,0,114,',0,0
.dd LM47-_main
.dw 0x0d,0x0a
.code
LM47:
call _Cost_ClearCost // call without return value
.debug
.dw '.stabn 0x44,0,115,',0,0
.dd LM48-_main
.dw 0x0d,0x0a
.code
LM48:
call _InterFace_UpdateWaitTime // call without return value
.debug
.dw '.stabn 0x44,0,116,',0,0
.dd LM49-_main
.dw 0x0d,0x0a
.code
LM49:
call _InterFace_UpdateDistance // call without return value
.debug
.dw '.stabn 0x44,0,117,',0,0
.dd LM50-_main
.dw 0x0d,0x0a
.code
LM50:
call _InterFace_UpdateCost // call without return value
.debug
.dw '.stabn 0x44,0,118,',0,0
.dd LM51-_main
.dw 0x0d,0x0a
.code
LM51:
R1=[_SysStatus] // QImode move
[SP--]=R1 // QImode move
call _InterFace_UpdateStatus // call without return value
SP=SP+1
.debug
.dw '.stabn 0x44,0,119,',0,0
.dd LM52-_main
.dw 0x0d,0x0a
.code
LM52:
pc=L18 // Indirect jump
L19:
.debug
.dw '.stabn 0x44,0,120,',0,0
.dd LM53-_main
.dw 0x0d,0x0a
.code
LM53:
R1=[_SysStatus] // QImode move
CMP R1,1 // QImode compare
JZ L38 // QImode NE
PC=L18
L38:
.debug
.dw '.stabn 0x44,0,122,',0,0
.dd LM54-_main
.dw 0x0d,0x0a
.code
LM54:
R1=10 // QImode move
[SP--]=R1 // QImode move
call _Speed_Up // call without return value
SP=SP+1
L21:
L20:
L18:
.debug
.dw '.stabn 0x44,0,125,',0,0
.dd LM55-_main
.dw 0x0d,0x0a
.code
LM55:
pc=L6 // Indirect jump
L22:
.debug
.dw '.stabn 0x44,0,127,',0,0
.dd LM56-_main
.dw 0x0d,0x0a
.code
LM56:
pc=L6 // Indirect jump
L6:
.debug
.dw '.stabn 0x44,0,129,',0,0
.dd LM57-_main
.dw 0x0d,0x0a
.code
LM57:
call _InterFace_UpdateTime // call without return value
.debug
.dw '.stabn 0x44,0,130,',0,0
.dd LM58-_main
.dw 0x0d,0x0a
.code
LM58:
call _InterFace_TimeFlash // call without return value
.debug
.dw '.stabn 0x44,0,131,',0,0
.dd LM59-_main
.dw 0x0d,0x0a
.code
LM59:
R1=[_SysStatus] // QImode move
CMP R1,1 // QImode compare
JZ L39 // QImode NE
PC=L25
L39:
.debug
.dw '.stabn 0x44,0,133,',0,0
.dd LM60-_main
.dw 0x0d,0x0a
.code
LM60:
call _Cost_ServiceLoop // call without return value
.debug
.dw '.stabn 0x44,0,134,',0,0
.dd LM61-_main
.dw 0x0d,0x0a
.code
LM61:
call _InterFace_UpdateDistance // call without return value
.debug
.dw '.stabn 0x44,0,135,',0,0
.dd LM62-_main
.dw 0x0d,0x0a
.code
LM62:
call _InterFace_UpdatePrice // call without return value
.debug
.dw '.stabn 0x44,0,136,',0,0
.dd LM63-_main
.dw 0x0d,0x0a
.code
LM63:
call _InterFace_UpdateCost // call without return value
L25:
.debug
.dw '.stabn 0x44,0,138,',0,0
.dd LM64-_main
.dw 0x0d,0x0a
.code
LM64:
pc=L3 // Indirect jump
L4:
.debug
.dw '.stabn 0x44,0,139,',0,0
.dd LM65-_main
.dw 0x0d,0x0a
.code
LM65:
R1=0 // QImode move
pc=L2 // Indirect jump
.debug
.dw '.stabn 0x44,0,140,',0,0
.dd LM66-_main
.dw 0x0d,0x0a
.code
LM66:
LBE2:
.debug
.dw '.stabn 0x44,0,140,',0,0
.dd LM67-_main
.dw 0x0d,0x0a
.code
LM67:
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 "Key:4",128,0,0,0',0x0d,0x0a
.CODE
.debug
.dw '.stabs "KeyType: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:
.debug
.dw '.stabs "SysStatus:G24",32,0,0,',0,0,offset _SysStatus,seg _SysStatus,0x0d,0x0a
.CODE
.ram
.public _SysStatus
_SysStatus:
.dw 0
.external _Cost_ServiceLoop
.external _InterFace_TimeFlash
.external _InterFace_UpdateTime
.external _Speed_Up
.external _InterFace_UpdateCost
.external _InterFace_UpdateDistance
.external _InterFace_UpdateWaitTime
.external _Cost_ClearCost
.external _Speed_Down
.external _InterFace_SystemSet
.external _PlayCost
.external _PlayDistance
.external _Cost_StopRunning
.external _Cal_GetHour
.external _Cal_GetHello
.external _PlaySnd
.external _InterFace_UpdatePrice
.external _Cost_StartRunning
.external _KeyScan_GetKey
.external _InterFace_UpdateStatus
.external _InterFace_Normal
.external _InterFace_Init
.external _SetINTStatus
.external _KeyScan_Init
.end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -