📄 main.asm
字号:
.dd LM37-_showled
.dw 0x0d,0x0a
.code
LM37:
call _delay // call with return value
.debug
.dw '.stabn 0x44,0,88,',0,0
.dd LM38-_showled
.dw 0x0d,0x0a
.code
LM38:
L18:
R1=[BP] // QImode move
R2=R1+1
[BP]=R2 // QImode move
pc=L16 // jump
L17:
.debug
.dw '.stabn 0x44,0,90,',0,0
.dd LM39-_showled
.dw 0x0d,0x0a
.code
LM39:
R1=BP // QImode move
R2=BP+5
R3=R2 // QImode move
R1=[R3] // QImode move
[SP--]=R1 // QImode move
R1=1 // QImode move
[SP--]=R1 // QImode move
call _singleled // call with return value
SP=SP+2
.debug
.dw '.stabn 0x44,0,91,',0,0
.dd LM40-_showled
.dw 0x0d,0x0a
.code
LM40:
R1=1 // QImode move
[BP]=R1 // QImode move
L20:
R1=[BP] // QImode move
CMP R1,16 // QImode compare
JG L42 // QImode LE
PC=L23
L42:
pc=L21 // jump
L23:
.debug
.dw '.stabn 0x44,0,92,',0,0
.dd LM41-_showled
.dw 0x0d,0x0a
.code
LM41:
call _delay // call with return value
.debug
.dw '.stabn 0x44,0,91,',0,0
.dd LM42-_showled
.dw 0x0d,0x0a
.code
LM42:
L22:
R1=[BP] // QImode move
R2=R1+1
[BP]=R2 // QImode move
pc=L20 // jump
L21:
.debug
.dw '.stabn 0x44,0,93,',0,0
.dd LM43-_showled
.dw 0x0d,0x0a
.code
LM43:
R1=BP // QImode move
R2=BP+10
R4=R2 // QImode move
R1=[R4] // QImode move
[SP--]=R1 // QImode move
R1=2 // QImode move
[SP--]=R1 // QImode move
call _singleled // call with return value
SP=SP+2
.debug
.dw '.stabn 0x44,0,94,',0,0
.dd LM44-_showled
.dw 0x0d,0x0a
.code
LM44:
R1=1 // QImode move
[BP]=R1 // QImode move
L24:
R1=[BP] // QImode move
CMP R1,16 // QImode compare
JG L43 // QImode LE
PC=L27
L43:
pc=L25 // jump
L27:
.debug
.dw '.stabn 0x44,0,95,',0,0
.dd LM45-_showled
.dw 0x0d,0x0a
.code
LM45:
call _delay // call with return value
.debug
.dw '.stabn 0x44,0,94,',0,0
.dd LM46-_showled
.dw 0x0d,0x0a
.code
LM46:
L26:
R1=[BP] // QImode move
R2=R1+1
[BP]=R2 // QImode move
pc=L24 // jump
L25:
.debug
.dw '.stabn 0x44,0,96,',0,0
.dd LM47-_showled
.dw 0x0d,0x0a
.code
LM47:
R1=BP // QImode move
R2=BP+11
R3=R2 // QImode move
R1=[R3] // QImode move
[SP--]=R1 // QImode move
R1=3 // QImode move
[SP--]=R1 // QImode move
call _singleled // call with return value
SP=SP+2
.debug
.dw '.stabn 0x44,0,97,',0,0
.dd LM48-_showled
.dw 0x0d,0x0a
.code
LM48:
R1=1 // QImode move
[BP]=R1 // QImode move
L28:
R1=[BP] // QImode move
CMP R1,16 // QImode compare
JG L44 // QImode LE
PC=L31
L44:
pc=L29 // jump
L31:
.debug
.dw '.stabn 0x44,0,98,',0,0
.dd LM49-_showled
.dw 0x0d,0x0a
.code
LM49:
call _delay // call with return value
.debug
.dw '.stabn 0x44,0,97,',0,0
.dd LM50-_showled
.dw 0x0d,0x0a
.code
LM50:
L30:
R1=[BP] // QImode move
R2=R1+1
[BP]=R2 // QImode move
pc=L28 // jump
L29:
.debug
.dw '.stabn 0x44,0,101,',0,0
.dd LM51-_showled
.dw 0x0d,0x0a
.code
LM51:
R1=BP // QImode move
R2=BP+12
R4=R2 // QImode move
R1=[R4] // QImode move
[SP--]=R1 // QImode move
R1=4 // QImode move
[SP--]=R1 // QImode move
call _singleled // call with return value
SP=SP+2
.debug
.dw '.stabn 0x44,0,103,',0,0
.dd LM52-_showled
.dw 0x0d,0x0a
.code
LM52:
R1=1 // QImode move
[BP]=R1 // QImode move
L32:
R1=[BP] // QImode move
CMP R1,16 // QImode compare
JG L45 // QImode LE
PC=L35
L45:
pc=L33 // jump
L35:
.debug
.dw '.stabn 0x44,0,104,',0,0
.dd LM53-_showled
.dw 0x0d,0x0a
.code
LM53:
call _delay // call with return value
.debug
.dw '.stabn 0x44,0,103,',0,0
.dd LM54-_showled
.dw 0x0d,0x0a
.code
LM54:
L34:
R1=[BP] // QImode move
R2=R1+1
[BP]=R2 // QImode move
pc=L32 // jump
L33:
.debug
.dw '.stabn 0x44,0,106,',0,0
.dd LM55-_showled
.dw 0x0d,0x0a
.code
LM55:
R1=BP // QImode move
R2=BP+13
R3=R2 // QImode move
R1=[R3] // QImode move
[SP--]=R1 // QImode move
R1=5 // QImode move
[SP--]=R1 // QImode move
call _singleled // call with return value
SP=SP+2
.debug
.dw '.stabn 0x44,0,107,',0,0
.dd LM56-_showled
.dw 0x0d,0x0a
.code
LM56:
R1=1 // QImode move
[BP]=R1 // QImode move
L36:
R1=[BP] // QImode move
CMP R1,16 // QImode compare
JG L46 // QImode LE
PC=L39
L46:
pc=L37 // jump
L39:
.debug
.dw '.stabn 0x44,0,108,',0,0
.dd LM57-_showled
.dw 0x0d,0x0a
.code
LM57:
call _delay // call with return value
.debug
.dw '.stabn 0x44,0,107,',0,0
.dd LM58-_showled
.dw 0x0d,0x0a
.code
LM58:
L38:
R1=[BP] // QImode move
R2=R1+1
[BP]=R2 // QImode move
pc=L36 // jump
L37:
.debug
.dw '.stabn 0x44,0,110,',0,0
.dd LM59-_showled
.dw 0x0d,0x0a
.code
LM59:
R1=BP // QImode move
R2=BP+1
R3=BP // QImode move
R1=BP+1
R2=BP // QImode move
R3=BP+1
R4=R3 // QImode move
R2=[R4] // QImode move
R3=R2+1
R2=R1 // QImode move
[R2]=R3 // QImode move
.debug
.dw '.stabn 0x44,0,111,',0,0
.dd LM60-_showled
.dw 0x0d,0x0a
.code
LM60:
LBE5:
L15:
.debug
.dw '.stabn 0x44,0,112,',0,0
.dd LM61-_showled
.dw 0x0d,0x0a
.code
LM61:
R1=BP // QImode move
R2=BP+1
R3=R2 // QImode move
R1=[R3] // QImode move
CMP R1,800 // QImode compare
JG L47 // QImode LE
PC=L40
L47:
pc=L14 // jump
L40:
pc=L13 // jump
L14:
.debug
.dw '.stabn 0x44,0,113,',0,0
.dd LM62-_showled
.dw 0x0d,0x0a
.code
LM62:
R1=1 // QImode move
[SP--]=R1 // QImode move
call _SACM_S480_Initial // call with return value
SP=SP+1
.debug
.dw '.stabn 0x44,0,114,',0,0
.dd LM63-_showled
.dw 0x0d,0x0a
.code
LM63:
R1=BP // QImode move
R2=BP+5
R4=R2 // QImode move
R1=[R4] // QImode move
[SP--]=R1 // QImode move
call _playS480 // call without return value
SP=SP+1
.debug
.dw '.stabn 0x44,0,115,',0,0
.dd LM64-_showled
.dw 0x0d,0x0a
.code
LM64:
R1=BP // QImode move
R2=BP+4
R3=R2 // QImode move
R1=[R3] // QImode move
[SP--]=R1 // QImode move
call _playS480 // call without return value
SP=SP+1
.debug
.dw '.stabn 0x44,0,116,',0,0
.dd LM65-_showled
.dw 0x0d,0x0a
.code
LM65:
R1=12 // QImode move
[SP--]=R1 // QImode move
call _playS480 // call without return value
SP=SP+1
.debug
.dw '.stabn 0x44,0,117,',0,0
.dd LM66-_showled
.dw 0x0d,0x0a
.code
LM66:
R1=BP // QImode move
R2=BP+13
R4=R2 // QImode move
R1=[R4] // QImode move
[SP--]=R1 // QImode move
call _playS480 // call without return value
SP=SP+1
.debug
.dw '.stabn 0x44,0,118,',0,0
.dd LM67-_showled
.dw 0x0d,0x0a
.code
LM67:
R1=BP // QImode move
R2=BP+12
R3=R2 // QImode move
R1=[R3] // QImode move
[SP--]=R1 // QImode move
call _playS480 // call without return value
SP=SP+1
.debug
.dw '.stabn 0x44,0,119,',0,0
.dd LM68-_showled
.dw 0x0d,0x0a
.code
LM68:
R1=BP // QImode move
R2=BP+11
R4=R2 // QImode move
R1=[R4] // QImode move
[SP--]=R1 // QImode move
call _playS480 // call without return value
SP=SP+1
.debug
.dw '.stabn 0x44,0,120,',0,0
.dd LM69-_showled
.dw 0x0d,0x0a
.code
LM69:
R1=BP // QImode move
R2=BP+10
R3=R2 // QImode move
R1=[R3] // QImode move
[SP--]=R1 // QImode move
call _playS480 // call without return value
SP=SP+1
.debug
.dw '.stabn 0x44,0,121,',0,0
.dd LM70-_showled
.dw 0x0d,0x0a
.code
LM70:
call _K_IRQ // call with return value
.debug
.dw '.stabn 0x44,0,122,',0,0
.dd LM71-_showled
.dw 0x0d,0x0a
.code
LM71:
LBE4:
.debug
.dw '.stabn 0x44,0,122,',0,0
.dd LM72-_showled
.dw 0x0d,0x0a
.code
LM72:
L12:
sp+=35
pop bp from [sp]
retf
.endp // end of showled
.debug
.dw '.stabs "tim:p1",160,0,0,38',0x0d,0x0a
.CODE
.debug
.dw '.stabs "pin:p1",160,0,0,39',0x0d,0x0a
.CODE
.debug
.dw '.stabn 0xc0,0,0,',0,0
.dd LBB4-_showled
.dw 0x0d,0x0a
.code
.debug
.dw '.stabs "kk:1",128,0,0,0',0x0d,0x0a
.CODE
.debug
.dw '.stabs "t:1",128,0,0,1',0x0d,0x0a
.CODE
.debug
.dw '.stabs "time:1",128,0,0,2',0x0d,0x0a
.CODE
.debug
.dw '.stabs "carlong:1",128,0,0,3',0x0d,0x0a
.CODE
.debug
.dw '.stabs "tm0:1",128,0,0,4',0x0d,0x0a
.CODE
.debug
.dw '.stabs "tm1:1",128,0,0,5',0x0d,0x0a
.CODE
.debug
.dw '.stabs "tm2:1",128,0,0,6',0x0d,0x0a
.CODE
.debug
.dw '.stabs "tm3:1",128,0,0,7',0x0d,0x0a
.CODE
.debug
.dw '.stabs "second:1",128,0,0,8',0x0d,0x0a
.CODE
.debug
.dw '.stabs "distance:1",128,0,0,9',0x0d,0x0a
.CODE
.debug
.dw '.stabs "dst0:1",128,0,0,10',0x0d,0x0a
.CODE
.debug
.dw '.stabs "dst1:1",128,0,0,11',0x0d,0x0a
.CODE
.debug
.dw '.stabs "dst2:1",128,0,0,12',0x0d,0x0a
.CODE
.debug
.dw '.stabs "dst3:1",128,0,0,13',0x0d,0x0a
.CODE
.debug
.dw '.stabs "dst4:1",128,0,0,14',0x0d,0x0a
.CODE
.debug
.dw '.stabs "dst5:1",128,0,0,15',0x0d,0x0a
.CODE
.debug
.dw '.stabn 0xc0,0,0,',0,0
.dd LBB5-_showled
.dw 0x0d,0x0a
.code
.debug
.dw '.stabn 0xe0,0,0,',0,0
.dd LBE5-_showled
.dw 0x0d,0x0a
.code
.debug
.dw '.stabn 0xe0,0,0,',0,0
.dd LBE4-_showled
.dw 0x0d,0x0a
.code
.debug
.dw '.stabf ',0,0
.dd LME2-_showled
.dw 0x0d,0x0a
.code
LME2:
.debug
.dw '.stabs "pp:G4",32,0,0,',0,0,offset _pp,seg _pp,0x0d,0x0a
.CODE
.public _pp
.iram
_pp:
.dw 0
.debug
.dw '.stabs "Mk_Z:G4",32,0,0,',0,0,offset _Mk_Z,seg _Mk_Z,0x0d,0x0a
.CODE
.public _Mk_Z
.iram
_Mk_Z:
.dw 100
.debug
.dw '.stabs "Mk_F:G4",32,0,0,',0,0,offset _Mk_F,seg _Mk_F,0x0d,0x0a
.CODE
.public _Mk_F
.iram
_Mk_F:
.dw 100
.debug
.dw '.stabs "Mk_Z1:G4",32,0,0,',0,0,offset _Mk_Z1,seg _Mk_Z1,0x0d,0x0a
.CODE
.public _Mk_Z1
.iram
_Mk_Z1:
.dw 100
.debug
.dw '.stabs "Mk_F1:G4",32,0,0,',0,0,offset _Mk_F1,seg _Mk_F1,0x0d,0x0a
.CODE
.public _Mk_F1
.iram
_Mk_F1:
.dw 100
.debug
.dw '.stabs "Mk_Z2:G4",32,0,0,',0,0,offset _Mk_Z2,seg _Mk_Z2,0x0d,0x0a
.CODE
.public _Mk_Z2
.iram
_Mk_Z2:
.dw 100
.debug
.dw '.stabs "Mk_F2:G4",32,0,0,',0,0,offset _Mk_F2,seg _Mk_F2,0x0d,0x0a
.CODE
.public _Mk_F2
.iram
_Mk_F2:
.dw 100
.debug
.dw '.stabs "Mk_Z3:G4",32,0,0,',0,0,offset _Mk_Z3,seg _Mk_Z3,0x0d,0x0a
.CODE
.public _Mk_Z3
.iram
_Mk_Z3:
.dw 100
.debug
.dw '.stabs "Mk_F3:G4",32,0,0,',0,0,offset _Mk_F3,seg _Mk_F3,0x0d,0x0a
.CODE
.public _Mk_F3
.iram
_Mk_F3:
.dw 100
.debug
.dw '.stabs "Mk_Z4:G4",32,0,0,',0,0,offset _Mk_Z4,seg _Mk_Z4,0x0d,0x0a
.CODE
.public _Mk_Z4
.iram
_Mk_Z4:
.dw 100
.debug
.dw '.stabs "Mk_F4:G4",32,0,0,',0,0,offset _Mk_F4,seg _Mk_F4,0x0d,0x0a
.CODE
.public _Mk_F4
.iram
_Mk_F4:
.dw 100
.debug
.dw '.stabs "Mk_Z5:G4",32,0,0,',0,0,offset _Mk_Z5,seg _Mk_Z5,0x0d,0x0a
.CODE
.public _Mk_Z5
.iram
_Mk_Z5:
.dw 100
.debug
.dw '.stabs "Mk_F5:G4",32,0,0,',0,0,offset _Mk_F5,seg _Mk_F5,0x0d,0x0a
.CODE
.public _Mk_F5
.iram
_Mk_F5:
.dw 100
.debug
.dw '.stabs "V_GA:G4",32,0,0,',0,0,offset _V_GA,seg _V_GA,0x0d,0x0a
.CODE
.public _V_GA
.iram
_V_GA:
.dw 100
.debug
.dw '.stabs "Bianxing:G4",32,0,0,',0,0,offset _Bianxing,seg _Bianxing,0x0d,0x0a
.CODE
.public _Bianxing
.iram
_Bianxing:
.dw 0
.debug
.dw '.stabs "Bianxing1:G4",32,0,0,',0,0,offset _Bianxing1,seg _Bianxing1,0x0d,0x0a
.CODE
.public _Bianxing1
.iram
_Bianxing1:
.dw 0
.debug
.dw '.stabs "sanju:G4",32,0,0,',0,0,offset _sanju,seg _sanju,0x0d,0x0a
.CODE
.public _sanju
.iram
_sanju:
.dw 243
.debug
.dw '.stabs "Mk_Z6:G4",32,0,0,',0,0,offset _Mk_Z6,seg _Mk_Z6,0x0d,0x0a
.CODE
.public _Mk_Z6
.iram
_Mk_Z6:
.dw 4080
.code
.debug
.dw '.stabs "main:F1",36,0,0,',0,0,offset _main,seg _main,0x0d,0x0a
.CODE
.public _main
_main: .proc
.debug
.dw '.stabn 0x44,0,129,',0,0
.dd LM73-_main
.dw 0x0d,0x0a
.code
LM73:
// total=62, vars=62
// frame_pointer_needed: 1
push bp to [sp]
sp-=62
bp=sp+1
R1=BP+65
[bp+29]=R1 // QImode move
.debug
.dw '.stabn 0x44,0,131,',0,0
.dd LM74-_main
.dw 0x0d,0x0a
.code
LM74:
LBB6:
R1=0 // QImode move
[BP]=R1 // QImode move
.debug
.dw '.stabn 0x44,0,132,',0,0
.dd LM75-_main
.dw 0x0d,0x0a
.code
LM75:
R1=BP // QImode move
R2=BP+19
R1=1 // QImode move
R3=R2 // QImode move
[R3]=R1 // QImode move
R1=BP // QImode move
R2=BP+20
R1=1 // QImode move
R4=R2 // QImode move
[R4]=R1 // QImode move
R1=BP // QImode move
R2=BP+21
R1=1 // QImode move
R3=R2 // QImode move
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -