📄 main.asm
字号:
R2+=R1 // addqi3_r0r
R1=R2 // QImode move
R3=[R1++] // RD=[RS] HImode, RD!=RS
R4=[R1--]
[_Addr]=R3 // HImode [Label]=RS
[_Addr+1]=R4
.debug
.dw '.stabn 0x44,0,222,',0,0
.dd LM103-_According_to_Keycode
.dw 0x0d,0x0a
.code
LM103:
call _Play_Initial // call without return value
.debug
.dw '.stabn 0x44,0,223,',0,0
.dd LM104-_According_to_Keycode
.dw 0x0d,0x0a
.code
LM104:
R1=6 // QImode move
[_SubStatus]=R1 // QImode move
.debug
.dw '.stabn 0x44,0,224,',0,0
.dd LM105-_According_to_Keycode
.dw 0x0d,0x0a
.code
LM105:
pc=L48 // jump
L60:
.debug
.dw '.stabn 0x44,0,226,',0,0
.dd LM106-_According_to_Keycode
.dw 0x0d,0x0a
.code
LM106:
R1=[_Segment] // QImode move
R2=R1 // QImode move
R1=R2 lsl 1
R2=R1+(-1)
R3=R2 // QImode move
R1=R3 lsl 1
R3=_Buffer // QImode move
R2=R3 // QImode move
R2+=R1 // addqi3_r0r
R1=R2 // QImode move
R3=[R1++] // RD=[RS] HImode, RD!=RS
R4=[R1--]
[_Addr]=R3 // HImode [Label]=RS
[_Addr+1]=R4
.debug
.dw '.stabn 0x44,0,227,',0,0
.dd LM107-_According_to_Keycode
.dw 0x0d,0x0a
.code
LM107:
call _Play_Initial // call without return value
.debug
.dw '.stabn 0x44,0,228,',0,0
.dd LM108-_According_to_Keycode
.dw 0x0d,0x0a
.code
LM108:
R1=7 // QImode move
[_SubStatus]=R1 // QImode move
.debug
.dw '.stabn 0x44,0,229,',0,0
.dd LM109-_According_to_Keycode
.dw 0x0d,0x0a
.code
LM109:
pc=L48 // jump
L61:
.debug
.dw '.stabn 0x44,0,231,',0,0
.dd LM110-_According_to_Keycode
.dw 0x0d,0x0a
.code
LM110:
R3=[_Buffer] // HImode RD=[Label]
R4=[_Buffer+1]
R1=R3 // HImode register to register move
R2=R4
R3=1 // QImode move
[SP--]=R3 // QImode move
push R1,R2 to [sp] // pushhi
call __lshiu2 // call with return value
SP=SP+3
R3=R1+1
R2=R3 // QImode move
R1=R2 lsl 1
R3=_Buffer // QImode move
R2=R3 // QImode move
R2+=R1 // addqi3_r0r
R1=R2 // QImode move
R3=[R1++] // RD=[RS] HImode, RD!=RS
R4=[R1--]
[_Addr]=R3 // HImode [Label]=RS
[_Addr+1]=R4
.debug
.dw '.stabn 0x44,0,232,',0,0
.dd LM111-_According_to_Keycode
.dw 0x0d,0x0a
.code
LM111:
call _SACM_DVR_InitQueue // call without return value
.debug
.dw '.stabn 0x44,0,233,',0,0
.dd LM112-_According_to_Keycode
.dw 0x0d,0x0a
.code
LM112:
R1=0 // QImode move
[SP--]=R1 // QImode move
call _SACM_DVR_InitEncoder // call without return value
SP=SP+1
.debug
.dw '.stabn 0x44,0,234,',0,0
.dd LM113-_According_to_Keycode
.dw 0x0d,0x0a
.code
LM113:
R1=1 // QImode move
[_SubStatus]=R1 // QImode move
.debug
.dw '.stabn 0x44,0,235,',0,0
.dd LM114-_According_to_Keycode
.dw 0x0d,0x0a
.code
LM114:
pc=L48 // jump
L62:
.debug
.dw '.stabn 0x44,0,237,',0,0
.dd LM115-_According_to_Keycode
.dw 0x0d,0x0a
.code
LM115:
call _Close_Interrupt // call with return value
.debug
.dw '.stabn 0x44,0,238,',0,0
.dd LM116-_According_to_Keycode
.dw 0x0d,0x0a
.code
LM116:
call _SP_UART_Init // call with return value
.debug
.dw '.stabn 0x44,0,239,',0,0
.dd LM117-_According_to_Keycode
.dw 0x0d,0x0a
.code
LM117:
R1=0 // QImode move
[_BaseType]=R1 // QImode move
.debug
.dw '.stabn 0x44,0,240,',0,0
.dd LM118-_According_to_Keycode
.dw 0x0d,0x0a
.code
LM118:
R1=0 // QImode move
[_SubStatus]=R1 // QImode move
.debug
.dw '.stabn 0x44,0,241,',0,0
.dd LM119-_According_to_Keycode
.dw 0x0d,0x0a
.code
LM119:
pc=L48 // jump
L63:
.debug
.dw '.stabn 0x44,0,243,',0,0
.dd LM120-_According_to_Keycode
.dw 0x0d,0x0a
.code
LM120:
pc=L48 // jump
.debug
.dw '.stabn 0x44,0,244,',0,0
.dd LM121-_According_to_Keycode
.dw 0x0d,0x0a
.code
LM121:
LBE6:
L50:
L48:
.debug
.dw '.stabn 0x44,0,246,',0,0
.dd LM122-_According_to_Keycode
.dw 0x0d,0x0a
.code
LM122:
pc=L65 // jump
L47:
.debug
.dw '.stabn 0x44,0,250,',0,0
.dd LM123-_According_to_Keycode
.dw 0x0d,0x0a
.code
LM123:
R1=[_Keycode] // QImode move
CMP R1,2 // QImode compare
JNZ L87 // QImode EQ
PC=L68
L87:
CMP R1,2 // QImode compare
JNA L88 // QImode GTU
PC=L77
L88:
CMP R1,1 // QImode compare
JNZ L89 // QImode EQ
PC=L67
L89:
pc=L75 // jump
L77:
CMP R1,3 // QImode compare
JNZ L90 // QImode EQ
PC=L69
L90:
CMP R1,15 // QImode compare
JNZ L91 // QImode EQ
PC=L74
L91:
pc=L75 // jump
L67:
.debug
.dw '.stabn 0x44,0,253,',0,0
.dd LM124-_According_to_Keycode
.dw 0x0d,0x0a
.code
LM124:
R1=4 // QImode move
[_SubStatus]=R1 // QImode move
.debug
.dw '.stabn 0x44,0,254,',0,0
.dd LM125-_According_to_Keycode
.dw 0x0d,0x0a
.code
LM125:
pc=L65 // jump
L68:
.debug
.dw '.stabn 0x44,0,256,',0,0
.dd LM126-_According_to_Keycode
.dw 0x0d,0x0a
.code
LM126:
R1=3 // QImode move
[_SubStatus]=R1 // QImode move
.debug
.dw '.stabn 0x44,0,257,',0,0
.dd LM127-_According_to_Keycode
.dw 0x0d,0x0a
.code
LM127:
pc=L65 // jump
L69:
.debug
.dw '.stabn 0x44,0,259,',0,0
.dd LM128-_According_to_Keycode
.dw 0x0d,0x0a
.code
LM128:
call _SP_SIOMassErase // call with return value
.debug
.dw '.stabn 0x44,0,260,',0,0
.dd LM129-_According_to_Keycode
.dw 0x0d,0x0a
.code
LM129:
R1=(-4096) // QImode move
[SP--]=R1 // QImode move
call _SP_PageErase // call with return value
SP=SP+1
.debug
.dw '.stabn 0x44,0,261,',0,0
.dd LM130-_According_to_Keycode
.dw 0x0d,0x0a
.code
LM130:
R1=0 // QImode move
[_i]=R1 // QImode move
L70:
R1=[_i] // QImode move
CMP R1,20 // QImode compare
JA L92 // QImode LEU
PC=L73
L92:
pc=L71 // jump
L73:
.debug
.dw '.stabn 0x44,0,263,',0,0
.dd LM131-_According_to_Keycode
.dw 0x0d,0x0a
.code
LM131:
R1=[_i] // QImode move
R2=R1 // QImode move
R1=R2 lsl 1
R3=_Buffer // QImode move
R2=R3 // QImode move
R2+=R1 // addqi3_r0r
R3=0 // HImode immediate to register move
R4=0
R1=R2 // QImode move
[R1++]=R3 // [RD]=RS HImode, RD!=RS+1
[R1--]=R4
.debug
.dw '.stabn 0x44,0,264,',0,0
.dd LM132-_According_to_Keycode
.dw 0x0d,0x0a
.code
LM132:
R1=0 // HImode immediate to register move
R2=0
push R1,R2 to [sp] // pushhi
R2=[_i] // QImode move
R1=R2+(-4096)
[SP--]=R1 // QImode move
call _SP_WriteWord // call with return value
SP=SP+3
.debug
.dw '.stabn 0x44,0,261,',0,0
.dd LM133-_According_to_Keycode
.dw 0x0d,0x0a
.code
LM133:
L72:
R1=[_i] // QImode move
R2=1 // QImode move
[_i]=R1+R2
pc=L70 // jump
L71:
.debug
.dw '.stabn 0x44,0,266,',0,0
.dd LM134-_According_to_Keycode
.dw 0x0d,0x0a
.code
LM134:
R1=1 // QImode move
[_Segment]=R1 // QImode move
.debug
.dw '.stabn 0x44,0,267,',0,0
.dd LM135-_According_to_Keycode
.dw 0x0d,0x0a
.code
LM135:
R1=0 // HImode immediate to register move
R2=0
[_Addr]=R1 // HImode [Label]=RS
[_Addr+1]=R2
.debug
.dw '.stabn 0x44,0,268,',0,0
.dd LM136-_According_to_Keycode
.dw 0x0d,0x0a
.code
LM136:
R1=1 // QImode move
[_BaseType]=R1 // QImode move
.debug
.dw '.stabn 0x44,0,269,',0,0
.dd LM137-_According_to_Keycode
.dw 0x0d,0x0a
.code
LM137:
R1=0 // QImode move
[_SubStatus]=R1 // QImode move
.debug
.dw '.stabn 0x44,0,270,',0,0
.dd LM138-_According_to_Keycode
.dw 0x0d,0x0a
.code
LM138:
pc=L65 // jump
L74:
.debug
.dw '.stabn 0x44,0,272,',0,0
.dd LM139-_According_to_Keycode
.dw 0x0d,0x0a
.code
LM139:
call _Open_Interrupt // call with return value
.debug
.dw '.stabn 0x44,0,273,',0,0
.dd LM140-_According_to_Keycode
.dw 0x0d,0x0a
.code
LM140:
R1=1 // QImode move
[_BaseType]=R1 // QImode move
.debug
.dw '.stabn 0x44,0,274,',0,0
.dd LM141-_According_to_Keycode
.dw 0x0d,0x0a
.code
LM141:
R1=0 // QImode move
[_SubStatus]=R1 // QImode move
.debug
.dw '.stabn 0x44,0,275,',0,0
.dd LM142-_According_to_Keycode
.dw 0x0d,0x0a
.code
LM142:
pc=L65 // jump
L75:
.debug
.dw '.stabn 0x44,0,277,',0,0
.dd LM143-_According_to_Keycode
.dw 0x0d,0x0a
.code
LM143:
pc=L65 // jump
L66:
L65:
.debug
.dw '.stabn 0x44,0,280,',0,0
.dd LM144-_According_to_Keycode
.dw 0x0d,0x0a
.code
LM144:
LBE5:
.debug
.dw '.stabn 0x44,0,280,',0,0
.dd LM145-_According_to_Keycode
.dw 0x0d,0x0a
.code
LM145:
L46:
sp+=1
pop bp from [sp]
retf
.endp // end of According_to_Keycode
.debug
.dw '.stabn 0xc0,0,0,',0,0
.dd LBB5-_According_to_Keycode
.dw 0x0d,0x0a
.code
.debug
.dw '.stabn 0xc0,0,0,',0,0
.dd LBB6-_According_to_Keycode
.dw 0x0d,0x0a
.code
.debug
.dw '.stabn 0xe0,0,0,',0,0
.dd LBE6-_According_to_Keycode
.dw 0x0d,0x0a
.code
.debug
.dw '.stabn 0xe0,0,0,',0,0
.dd LBE5-_According_to_Keycode
.dw 0x0d,0x0a
.code
.debug
.dw '.stabf ',0,0
.dd LME7-_According_to_Keycode
.dw 0x0d,0x0a
.code
LME7:
.code
.debug
.dw '.stabs "According_to_SubStatus:F19",36,0,0,',0,0,offset _According_to_SubStatus,seg _According_to_SubStatus,0x0d,0x0a
.CODE
.public _According_to_SubStatus
_According_to_SubStatus: .proc
.debug
.dw '.stabn 0x44,0,292,',0,0
.dd LM146-_According_to_SubStatus
.dw 0x0d,0x0a
.code
LM146:
// total=1, vars=1
// frame_pointer_needed: 1
push bp to [sp]
sp-=1
bp=sp+1
R1=BP+4
[BP]=R1 // QImode move
.debug
.dw '.stabn 0x44,0,293,',0,0
.dd LM147-_According_to_SubStatus
.dw 0x0d,0x0a
.code
LM147:
LBB7:
R1=[_SubStatus] // QImode move
CMP R1,7 // QImode compare
JNA L124 // QImode GTU
PC=L117
L124:
R1=[_SubStatus] // QImode move
R2=R1 // QImode move
R1=R2 // QImode move
R1=R1+L123
R3=R1 // QImode move
R2=[R3] // QImode move
pc=R2 // tablejump
.text
L123:
.dw L117
.dw L95
.dw L99
.dw L110
.dw L111
.dw L117
.dw L102
.dw L107
.code
L95:
.debug
.dw '.stabn 0x44,0,296,',0,0
.dd LM148-_According_to_SubStatus
.dw 0x0d,0x0a
.code
LM148:
R1=[_Addr] // HImode RD=[Label]
R2=[_Addr+1]
CMP R2,7 // HImode compare
JA L125 // HImode GTU
JNZ L126
CMP R1,(-149)
JNA L126
L125:
PC=L96
L126:
.debug
.dw '.stabn 0x44,0,298,',0,0
.dd LM149-_According_to_SubStatus
.dw 0x0d,0x0a
.code
LM149:
LBB8:
call _SACM_DVR_Encode // call with return value
.debug
.dw '.stabn 0x44,0,299,',0,0
.dd LM150-_According_to_SubStatus
.dw 0x0d,0x0a
.code
LM150:
call _SACM_DVR_TestQueue // call with return value
CMP R1,2 // QImode compare
JNZ L127 // QImode EQ
PC=L97
L127:
.debug
.dw '.stabn 0x44,0,301,',0,0
.dd LM151-_According_to_SubStatus
.dw 0x0d,0x0a
.code
LM151:
call _SACM_DVR_FetchQueue // call with return value
[_Ret]=R1 // QImode move
.debug
.dw '.stabn 0x44,0,302,',0,0
.dd LM152-_According_to_SubStatus
.dw 0x0d,0x0a
.code
LM152:
R1=[_Ret] // QImode move
[SP--]=R1 // QImode move
R1=[_Addr] // HImode RD=[Label]
R2=[_Addr+1]
push R1,R2 to [sp] // pushhi
call _SP_SIOSendAWord // call with return value
SP=SP+3
.debug
.dw '.stabn 0x44,0,303,',0,0
.dd LM153-_According_to_SubStatus
.dw 0x0d,0x0a
.code
LM153:
R1=[_Addr] // HImode RD=[Label]
R2=[_Addr+1]
R3=R1+2 // HImode RD=RS+#IMM16
R4=R2+0, Carry
[_Addr]=R3 // HImode [Label]=RS
[_Addr+1]=R4
L97:
.debug
.dw '.stabn 0x44,0,305,',0,0
.dd LM154-_According_to_SubStatus
.dw 0x0d,0x0a
.code
LM154:
LBE8:
pc=L98 // jump
L96:
.debug
.dw '.stabn 0x44,0,308,',0,0
.dd LM155-_According_to_SubStatus
.dw 0x0d,0x0a
.code
LM155:
call _DVR_Stop // call without return value
.debug
.dw '.stabn 0x44,0,309,',0,0
.dd LM156-_According_to_SubStatus
.dw 0x0d,0x0a
.code
LM156:
call _Send_QueueData_to_Sflash // call without return value
.debug
.dw '.stabn 0x44,0,310,',0,0
.dd LM157-_According_to_SubStatus
.dw 0x0d,0x0a
.code
LM157:
call _Modify_Index // call without return value
.debug
.dw '.stabn 0x44,0,311,',0,0
.dd LM158-_According_to_SubStatus
.dw 0x0d,0x0a
.code
LM158:
R1=0 // QImode move
[_SubStatus]=R1 // QImode move
L98:
.debug
.dw '.stabn 0x44,0,313,',0,0
.dd LM159-_According_to_SubStatus
.dw 0x0d,0x0a
.code
LM159:
pc=L94 // jump
L99:
.debug
.dw '.stabn 0x44,0,315,',0,0
.dd LM160-_According_to_SubStatus
.dw 0x0d,0x0a
.code
LM160:
call _SACM_DVR_Status // call with return value
R2=R1&1
CMP R2,0 // QImode test
JNZ L128 // QImode EQ
PC=L100
L128:
.debug
.dw '.stabn 0x44,0,317,',0,0
.dd LM161-_According_to_SubStatus
.dw 0x0d,0x0a
.code
LM161:
LBB9:
call _Fill_A_Word_To_Queue // call without return value
.debug
.dw '.stabn 0x44,0,318,',0,0
.dd LM162-_According_to_SubStatus
.dw 0x0d,0x0a
.code
LM162:
call _SACM_DVR_Decode // call with return value
.debug
.dw '.stabn 0x44,0,319,',0,0
.dd LM163-_According_to_SubStatus
.dw 0x0d,0x0a
.code
LM163:
LBE9:
pc=L101 // jump
L100:
.debug
.dw '.stabn 0x44,0,322,',0,0
.dd LM164-_According_to_SubStatus
.dw 0x0d,0x0a
.code
LM164:
call _DVR_Stop // call without return value
.debug
.dw '.stabn 0x44,0,323,',0,0
.dd LM165-_According_to_SubStatus
.dw 0x0d,0x0a
.code
LM165:
R1=0 // QImode move
[_SubStatus]=R1 // QImode move
L101:
.debug
.dw '.stabn 0x44,0,325,',0,0
.dd LM166-_According_to_SubStatus
.dw 0x0d,0x0a
.code
LM166:
pc=L94 // jump
L102:
.debug
.dw '.stabn 0x44,0,328,',0,0
.dd LM167-_According_to_SubStatus
.dw 0x0d,0x0a
.code
LM167:
call _SACM_DVR_Status // call with return value
R2=R1&1
CMP R2,0 // QImode test
JNZ L129 // QImode EQ
PC=L103
L129:
.debug
.dw '.stabn 0x44,0,330,',0,0
.dd LM168-_According_to_SubStatus
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -