📄 mian.asm
字号:
.code
.debug
.dw '.stabs "Delay:F19",36,0,0,',0,0,offset _Delay,seg _Delay,0x0d,0x0a
.CODE
.public _Delay
_Delay: .proc
.debug
.dw '.stabn 0x44,0,92,',0,0
.dd LM47-_Delay
.dw 0x0d,0x0a
.code
LM47:
// total=1, vars=1
// frame_pointer_needed: 1
push bp to [sp]
sp-=1
bp=sp+1
R1=BP+4
.debug
.dw '.stabn 0x44,0,93,',0,0
.dd LM48-_Delay
.dw 0x0d,0x0a
.code
LM48:
LBB5:
R2=0 // QImode move
[BP]=R2 // QImode move
.debug
.dw '.stabn 0x44,0,94,',0,0
.dd LM49-_Delay
.dw 0x0d,0x0a
.code
LM49:
L37:
R2=[BP] // QImode move
CMP R2,189 // QImode compare
JG L41 // QImode LE
PC=L39
L41:
pc=L38 // Indirect jump
L40:
L39:
R2=[BP] // QImode move
R3=R2+1
[BP]=R3 // QImode move
pc=L37 // Indirect jump
L38:
.debug
.dw '.stabn 0x44,0,95,',0,0
.dd LM50-_Delay
.dw 0x0d,0x0a
.code
LM50:
LBE5:
.debug
.dw '.stabn 0x44,0,95,',0,0
.dd LM51-_Delay
.dw 0x0d,0x0a
.code
LM51:
L36:
sp+=1
pop bp from [sp]
retf
.endp // end of Delay
.debug
.dw '.stabn 0xc0,0,0,',0,0
.dd LBB5-_Delay
.dw 0x0d,0x0a
.code
.debug
.dw '.stabs "i:1",128,0,0,0',0x0d,0x0a
.CODE
.debug
.dw '.stabn 0xe0,0,0,',0,0
.dd LBE5-_Delay
.dw 0x0d,0x0a
.code
.debug
.dw '.stabf ',0,0
.dd LME4-_Delay
.dw 0x0d,0x0a
.code
LME4:
.code
.debug
.dw '.stabs "display_1:F19",36,0,0,',0,0,offset _display_1,seg _display_1,0x0d,0x0a
.CODE
.public _display_1
_display_1: .proc
.debug
.dw '.stabn 0x44,0,99,',0,0
.dd LM52-_display_1
.dw 0x0d,0x0a
.code
LM52:
// total=3, vars=3
// frame_pointer_needed: 1
push bp to [sp]
sp-=3
bp=sp+1
R1=BP+6
[bp+2]=R1 // QImode move
.debug
.dw '.stabn 0x44,0,100,',0,0
.dd LM53-_display_1
.dw 0x0d,0x0a
.code
LM53:
LBB6:
.debug
.dw '.stabn 0x44,0,102,',0,0
.dd LM54-_display_1
.dw 0x0d,0x0a
.code
LM54:
R1=1 // QImode move
// GCC inline ASM start
[P_Watchdog_Clear]=R1
// GCC inline ASM end
.debug
.dw '.stabn 0x44,0,103,',0,0
.dd LM55-_display_1
.dw 0x0d,0x0a
.code
LM55:
R1=[_Sec] // QImode move
R2=10 // QImode move
[SP--]=R2 // QImode move
[SP--]=R1 // QImode move
call __modi1 // call with return value
SP=SP+2
[BP]=R1 // QImode move
.debug
.dw '.stabn 0x44,0,104,',0,0
.dd LM56-_display_1
.dw 0x0d,0x0a
.code
LM56:
R1=_Tabel // QImode move
R2=[BP] // QImode move
R1+=R2 // addqi3_r0r
R3=R1 // QImode move
R2=[R3] // QImode move
[BP]=R2 // QImode move
.debug
.dw '.stabn 0x44,0,105,',0,0
.dd LM57-_display_1
.dw 0x0d,0x0a
.code
LM57:
R1=[BP] // QImode move
R2=R1|1792
[BP]=R2 // QImode move
.debug
.dw '.stabn 0x44,0,106,',0,0
.dd LM58-_display_1
.dw 0x0d,0x0a
.code
LM58:
R1=[BP] // QImode move
[_table]=R1 // QImode move
.debug
.dw '.stabn 0x44,0,107,',0,0
.dd LM59-_display_1
.dw 0x0d,0x0a
.code
LM59:
R1=[BP] // QImode move
// GCC inline ASM start
[P_IOB_Data]=R1
// GCC inline ASM end
.debug
.dw '.stabn 0x44,0,108,',0,0
.dd LM60-_display_1
.dw 0x0d,0x0a
.code
LM60:
call _Delay // call without return value
.debug
.dw '.stabn 0x44,0,110,',0,0
.dd LM61-_display_1
.dw 0x0d,0x0a
.code
LM61:
R1=[_Sec] // QImode move
R2=10 // QImode move
[SP--]=R2 // QImode move
[SP--]=R1 // QImode move
call __divi1 // call with return value
SP=SP+2
[BP]=R1 // QImode move
.debug
.dw '.stabn 0x44,0,111,',0,0
.dd LM62-_display_1
.dw 0x0d,0x0a
.code
LM62:
R1=_Tabel // QImode move
R2=[BP] // QImode move
R1+=R2 // addqi3_r0r
R4=R1 // QImode move
R2=[R4] // QImode move
[BP]=R2 // QImode move
.debug
.dw '.stabn 0x44,0,112,',0,0
.dd LM63-_display_1
.dw 0x0d,0x0a
.code
LM63:
R1=[BP] // QImode move
R2=R1|1536
[BP]=R2 // QImode move
R1=[BP] // QImode move
[_table+1]=R1 // QImode move
.debug
.dw '.stabn 0x44,0,113,',0,0
.dd LM64-_display_1
.dw 0x0d,0x0a
.code
LM64:
R1=[BP] // QImode move
// GCC inline ASM start
[P_IOB_Data]=R1
// GCC inline ASM end
.debug
.dw '.stabn 0x44,0,114,',0,0
.dd LM65-_display_1
.dw 0x0d,0x0a
.code
LM65:
call _Delay // call without return value
.debug
.dw '.stabn 0x44,0,116,',0,0
.dd LM66-_display_1
.dw 0x0d,0x0a
.code
LM66:
R1=[_Min] // QImode move
R2=10 // QImode move
[SP--]=R2 // QImode move
[SP--]=R1 // QImode move
call __modi1 // call with return value
SP=SP+2
[BP]=R1 // QImode move
.debug
.dw '.stabn 0x44,0,117,',0,0
.dd LM67-_display_1
.dw 0x0d,0x0a
.code
LM67:
R1=_Tabel // QImode move
R2=[BP] // QImode move
R1+=R2 // addqi3_r0r
R3=R1 // QImode move
R2=[R3] // QImode move
[BP]=R2 // QImode move
.debug
.dw '.stabn 0x44,0,118,',0,0
.dd LM68-_display_1
.dw 0x0d,0x0a
.code
LM68:
R1=[BP] // QImode move
R2=R1|1280
[BP]=R2 // QImode move
.debug
.dw '.stabn 0x44,0,119,',0,0
.dd LM69-_display_1
.dw 0x0d,0x0a
.code
LM69:
R1=[BP] // QImode move
R2=R1|128
[BP]=R2 // QImode move
R1=[BP] // QImode move
[_table+2]=R1 // QImode move
.debug
.dw '.stabn 0x44,0,120,',0,0
.dd LM70-_display_1
.dw 0x0d,0x0a
.code
LM70:
R1=[BP] // QImode move
// GCC inline ASM start
[P_IOB_Data]=R1
// GCC inline ASM end
.debug
.dw '.stabn 0x44,0,121,',0,0
.dd LM71-_display_1
.dw 0x0d,0x0a
.code
LM71:
call _Delay // call without return value
.debug
.dw '.stabn 0x44,0,123,',0,0
.dd LM72-_display_1
.dw 0x0d,0x0a
.code
LM72:
R1=[_Min] // QImode move
R2=10 // QImode move
[SP--]=R2 // QImode move
[SP--]=R1 // QImode move
call __divi1 // call with return value
SP=SP+2
[BP]=R1 // QImode move
.debug
.dw '.stabn 0x44,0,124,',0,0
.dd LM73-_display_1
.dw 0x0d,0x0a
.code
LM73:
R1=_Tabel // QImode move
R2=[BP] // QImode move
R1+=R2 // addqi3_r0r
R4=R1 // QImode move
R2=[R4] // QImode move
[BP]=R2 // QImode move
.debug
.dw '.stabn 0x44,0,125,',0,0
.dd LM74-_display_1
.dw 0x0d,0x0a
.code
LM74:
R1=[BP] // QImode move
R2=R1|1024
[BP]=R2 // QImode move
R1=[BP] // QImode move
[_table+3]=R1 // QImode move
.debug
.dw '.stabn 0x44,0,126,',0,0
.dd LM75-_display_1
.dw 0x0d,0x0a
.code
LM75:
R1=[BP] // QImode move
// GCC inline ASM start
[P_IOB_Data]=R1
// GCC inline ASM end
.debug
.dw '.stabn 0x44,0,127,',0,0
.dd LM76-_display_1
.dw 0x0d,0x0a
.code
LM76:
call _Delay // call without return value
.debug
.dw '.stabn 0x44,0,129,',0,0
.dd LM77-_display_1
.dw 0x0d,0x0a
.code
LM77:
R1=[_Hour] // QImode move
R2=10 // QImode move
[SP--]=R2 // QImode move
[SP--]=R1 // QImode move
call __modi1 // call with return value
SP=SP+2
[BP]=R1 // QImode move
.debug
.dw '.stabn 0x44,0,130,',0,0
.dd LM78-_display_1
.dw 0x0d,0x0a
.code
LM78:
R1=_Tabel // QImode move
R2=[BP] // QImode move
R1+=R2 // addqi3_r0r
R3=R1 // QImode move
R2=[R3] // QImode move
[BP]=R2 // QImode move
.debug
.dw '.stabn 0x44,0,131,',0,0
.dd LM79-_display_1
.dw 0x0d,0x0a
.code
LM79:
R1=[BP] // QImode move
R2=R1|768
[BP]=R2 // QImode move
.debug
.dw '.stabn 0x44,0,132,',0,0
.dd LM80-_display_1
.dw 0x0d,0x0a
.code
LM80:
R1=[BP] // QImode move
R2=R1|128
[BP]=R2 // QImode move
R1=[BP] // QImode move
[_table+4]=R1 // QImode move
.debug
.dw '.stabn 0x44,0,133,',0,0
.dd LM81-_display_1
.dw 0x0d,0x0a
.code
LM81:
R1=[BP] // QImode move
// GCC inline ASM start
[P_IOB_Data]=R1
// GCC inline ASM end
.debug
.dw '.stabn 0x44,0,134,',0,0
.dd LM82-_display_1
.dw 0x0d,0x0a
.code
LM82:
call _Delay // call without return value
.debug
.dw '.stabn 0x44,0,136,',0,0
.dd LM83-_display_1
.dw 0x0d,0x0a
.code
LM83:
R1=[_Hour] // QImode move
R2=10 // QImode move
[SP--]=R2 // QImode move
[SP--]=R1 // QImode move
call __divi1 // call with return value
SP=SP+2
[BP]=R1 // QImode move
.debug
.dw '.stabn 0x44,0,137,',0,0
.dd LM84-_display_1
.dw 0x0d,0x0a
.code
LM84:
R1=_Tabel // QImode move
R2=[BP] // QImode move
R1+=R2 // addqi3_r0r
R4=R1 // QImode move
R2=[R4] // QImode move
[BP]=R2 // QImode move
.debug
.dw '.stabn 0x44,0,138,',0,0
.dd LM85-_display_1
.dw 0x0d,0x0a
.code
LM85:
R1=[BP] // QImode move
R2=R1|512
[BP]=R2 // QImode move
R1=[BP] // QImode move
[_table+5]=R1 // QImode move
.debug
.dw '.stabn 0x44,0,139,',0,0
.dd LM86-_display_1
.dw 0x0d,0x0a
.code
LM86:
R1=[BP] // QImode move
// GCC inline ASM start
[P_IOB_Data]=R1
// GCC inline ASM end
.debug
.dw '.stabn 0x44,0,140,',0,0
.dd LM87-_display_1
.dw 0x0d,0x0a
.code
LM87:
call _Delay // call without return value
.debug
.dw '.stabn 0x44,0,141,',0,0
.dd LM88-_display_1
.dw 0x0d,0x0a
.code
LM88:
R1=256 // QImode move
// GCC inline ASM start
[P_IOB_Data]=R1
// GCC inline ASM end
.debug
.dw '.stabn 0x44,0,142,',0,0
.dd LM89-_display_1
.dw 0x0d,0x0a
.code
LM89:
call _Delay // call without return value
.debug
.dw '.stabn 0x44,0,143,',0,0
.dd LM90-_display_1
.dw 0x0d,0x0a
.code
LM90:
R1=0 // QImode move
// GCC inline ASM start
[P_IOB_Data]=R1
// GCC inline ASM end
.debug
.dw '.stabn 0x44,0,144,',0,0
.dd LM91-_display_1
.dw 0x0d,0x0a
.code
LM91:
call _Delay // call without return value
.debug
.dw '.stabn 0x44,0,145,',0,0
.dd LM92-_display_1
.dw 0x0d,0x0a
.code
LM92:
R1=[_temp2] // QImode move
CMP R1,0 // QImode test
JNL L48 // QImode LT
PC=L43
L48:
R1=[_temp2] // QImode move
CMP R1,5 // QImode compare
JNG L49 // QImode GT
PC=L43
L49:
.debug
.dw '.stabn 0x44,0,147,',0,0
.dd LM93-_display_1
.dw 0x0d,0x0a
.code
LM93:
R1=_table // QImode move
R2=[_temp2] // QImode move
R1+=R2 // addqi3_r0r
R2=_table // QImode move
R3=[_temp2] // QImode move
R2+=R3 // addqi3_r0r
R4=R2 // QImode move
R3=[R4] // QImode move
R2=R3&3840
R3=R1 // QImode move
[R3]=R2 // QImode move
.debug
.dw '.stabn 0x44,0,148,',0,0
.dd LM94-_display_1
.dw 0x0d,0x0a
.code
LM94:
R1=BP // QImode move
R2=BP+1
R1=0 // QImode move
R4=R2 // QImode move
[R4]=R1 // QImode move
L44:
R1=BP // QImode move
R2=BP+1
R3=R2 // QImode move
R1=[R3] // QImode move
CMP R1,5 // QImode compare
JG L50 // QImode LE
PC=L47
L50:
pc=L45 // Indirect jump
L47:
.debug
.dw '.stabn 0x44,0,150,',0,0
.dd LM95-_display_1
.dw 0x0d,0x0a
.code
LM95:
R1=BP // QImode move
R2=BP+1
R1=_table // QImode move
R4=R2 // QImode move
R2=[R4] // QImode move
R1+=R2 // addqi3_r0r
R3=R1 // QImode move
R2=[R3] // QImode move
// GCC inline ASM start
[P_IOB_Data]=R2
// GCC inline ASM end
.debug
.dw '.stabn 0x44,0,151,',0,0
.dd LM96-_display_1
.dw 0x0d,0x0a
.code
LM96:
call _Delay // call without return value
.debug
.dw '.stabn 0x44,0,148,',0,0
.dd LM97-_display_1
.dw 0x0d,0x0a
.code
LM97:
L46:
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
pc=L44 // Indirect jump
L45:
.debug
.dw '.stabn 0x44,0,153,',0,0
.dd LM98-_display_1
.dw 0x0d,0x0a
.code
LM98:
R1=256 // QImode move
// GCC inline ASM start
[P_IOB_Data]=R1
// GCC inline ASM end
.debug
.dw '.stabn 0x44,0,154,',0,0
.dd LM99-_display_1
.dw 0x0d,0x0a
.code
LM99:
call _Delay // call without return value
.debug
.dw '.stabn 0x44,0,155,',0,0
.dd LM100-_display_1
.dw 0x0d,0x0a
.code
LM100:
R1=0 // QImode move
// GCC inline ASM start
[P_IOB_Data]=R1
// GCC inline ASM end
.debug
.dw '.stabn 0x44,0,156,',0,0
.dd LM101-_display_1
.dw 0x0d,0x0a
.code
LM101:
call _Delay // call without return value
L43:
.debug
.dw '.stabn 0x44,0,159,',0,0
.dd LM102-_display_1
.dw 0x0d,0x0a
.code
LM102:
LBE6:
.debug
.dw '.stabn 0x44,0,159,',0,0
.dd LM103-_display_1
.dw 0x0d,0x0a
.code
LM103:
L42:
sp+=3
pop bp from [sp]
retf
.endp // end of display_1
.debug
.dw '.stabn 0xc0,0,0,',0,0
.dd LBB6-_display_1
.dw 0x0d,0x0a
.code
.debug
.dw '.stabs "temp:1",128,0,0,0',0x0d,0x0a
.CODE
.debug
.dw '.stabs "i:1",128,0,0,1',0x0d,0x0a
.CODE
.debug
.dw '.stabn 0xe0,0,0,',0,0
.dd LBE6-_display_1
.dw 0x0d,0x0a
.code
.debug
.dw '.stabf ',0,0
.dd LME5-_display_1
.dw 0x0d,0x0a
.code
LME5:
.code
.debug
.dw '.stabs "display_2:F19",36,0,0,',0,0,offset _display_2,seg _display_2,0x0d,0x0a
.CODE
.public _display_2
_display_2: .proc
.debug
.dw '.stabn 0x44,0,161,',0,0
.dd LM104-_display_2
.dw 0x0d,0x0a
.code
LM104:
// total=11, vars=11
// frame_pointer_needed: 1
push bp to [sp]
sp-=11
bp=sp+1
R1=BP+14
[bp+10]=R1 // QImode move
.debug
.dw '.stabn 0x44,0,163,',0,0
.dd LM105-_display_2
.dw 0x0d,0x0a
.code
LM105:
LBB7:
.debug
.dw '.stabn 0x44,0,165,',0,0
.dd LM106-_display_2
.dw 0x0d,0x0a
.code
LM106:
R1=1 // QImode move
// GCC inline ASM start
[P_Watchdog_Clear]=R1
// GCC inline ASM end
.debug
.dw '.stabn 0x44,0,166,',0,0
.dd LM107-_display_2
.dw 0x0d,0x0a
.code
LM107:
R1=BP // QImode move
R2=BP+5
R1=[_Year] // QImode move
R3=R2 // QImode move
[R3]=R1 // QImode move
R1=BP // QImode move
R2=BP+2
R1=0 // QImode move
R4=R2 // QImode move
[R4]=R1 // QImode move
R1=BP // QImode move
R2=BP+3
R1=0 // QImode move
R3=R2 // QImode move
[R3]=R1 // QImode move
R1=BP // QImode move
R2=BP+4
R1=0 // QImode move
R4=R2 // QImode move
[R4]=R1 // QImode move
.debug
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -