⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mian.asm

📁 该程序是用C编写的
💻 ASM
📖 第 1 页 / 共 5 页
字号:
	R1=[_temp2]	// QImode move
	CMP R1,13	// QImode compare
	JNG L78	// QImode GT
	PC=L67
L78:
.debug
	.dw '.stabn 0x44,0,248,',0,0
	.dd LM173-_display_2
	.dw 0x0d,0x0a
.code
LM173:
	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,249,',0,0
	.dd LM174-_display_2
	.dw 0x0d,0x0a
.code
LM174:
	R1=BP	// QImode move
	R2=BP+1
	R1=6	// QImode move
	R4=R2	// QImode move
	[R4]=R1	// QImode move
L68:
	R1=BP	// QImode move
	R2=BP+1
	R3=R2	// QImode move
	R1=[R3]	// QImode move
	CMP R1,13	// QImode compare
	JG L79	// QImode LE
	PC=L71
L79:
	pc=L67	// Indirect jump
L71:
.debug
	.dw '.stabn 0x44,0,251,',0,0
	.dd LM175-_display_2
	.dw 0x0d,0x0a
.code
LM175:
	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,252,',0,0
	.dd LM176-_display_2
	.dw 0x0d,0x0a
.code
LM176:
	call _Delay	// call without return value
.debug
	.dw '.stabn 0x44,0,249,',0,0
	.dd LM177-_display_2
	.dw 0x0d,0x0a
.code
LM177:
L70:
	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=L68	// Indirect jump
L69:
L67:
.debug
	.dw '.stabn 0x44,0,256,',0,0
	.dd LM178-_display_2
	.dw 0x0d,0x0a
.code
LM178:
LBE7:
.debug
	.dw '.stabn 0x44,0,256,',0,0
	.dd LM179-_display_2
	.dw 0x0d,0x0a
.code
LM179:
L51:

	sp+=11
	pop bp from [sp]
	retf
	.endp	// end of display_2

.debug
	.dw '.stabn 0xc0,0,0,',0,0
	.dd LBB7-_display_2
	.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 '.stabs "a:1",128,0,0,2',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "b:1",128,0,0,3',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "c:1",128,0,0,4',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "d:1",128,0,0,5',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "a1:1",128,0,0,6',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "b1:1",128,0,0,7',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "a2:1",128,0,0,8',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "b2:1",128,0,0,9',0x0d,0x0a
.CODE
.debug
	.dw '.stabn 0xe0,0,0,',0,0
	.dd LBE7-_display_2
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabf ',0,0
	.dd LME6-_display_2
	.dw 0x0d,0x0a
.code
LME6:
.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,259,',0,0
	.dd LM180-_delay
	.dw 0x0d,0x0a
.code
LM180:
	// 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,260,',0,0
	.dd LM181-_delay
	.dw 0x0d,0x0a
.code
LM181:
LBB8:
	R2=0	// QImode move
	[BP]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,261,',0,0
	.dd LM182-_delay
	.dw 0x0d,0x0a
.code
LM182:
L81:
	R2=[BP]	// QImode move
	CMP R2,499	// QImode compare
	JG L85	// QImode LE
	PC=L83
L85:
	pc=L82	// Indirect jump
L84:
L83:
	R2=[BP]	// QImode move
	R3=R2+1
	[BP]=R3	// QImode move
	pc=L81	// Indirect jump
L82:
.debug
	.dw '.stabn 0x44,0,262,',0,0
	.dd LM183-_delay
	.dw 0x0d,0x0a
.code
LM183:
LBE8:
.debug
	.dw '.stabn 0x44,0,262,',0,0
	.dd LM184-_delay
	.dw 0x0d,0x0a
.code
LM184:
L80:

	sp+=1
	pop bp from [sp]
	retf
	.endp	// end of delay

.debug
	.dw '.stabn 0xc0,0,0,',0,0
	.dd LBB8-_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 LBE8-_delay
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabf ',0,0
	.dd LME7-_delay
	.dw 0x0d,0x0a
.code
LME7:
.code
.debug
	.dw '.stabs "Maxday:F1",36,0,0,',0,0,offset _Maxday,seg _Maxday,0x0d,0x0a
.CODE
.public _Maxday
_Maxday:	.proc
.debug
	.dw '.stabn 0x44,0,266,',0,0
	.dd LM185-_Maxday
	.dw 0x0d,0x0a
.code
LM185:
	// total=0, vars=0
	// frame_pointer_needed: 1
	push bp to [sp]
	bp=sp+1

	R2=BP+3
.debug
	.dw '.stabn 0x44,0,267,',0,0
	.dd LM186-_Maxday
	.dw 0x0d,0x0a
.code
LM186:
	R3=R2	// QImode move
	R1=[R3]	// QImode move
	CMP R1,2	// QImode compare
	JNZ L89	// QImode EQ
	PC=L87
L89:
.debug
	.dw '.stabn 0x44,0,268,',0,0
	.dd LM187-_Maxday
	.dw 0x0d,0x0a
.code
LM187:
	R1=R2	// QImode move
	R3=[R1]	// QImode move
	R1=R3+(-1)
	R4=_Month	// QImode move
	R3=R4	// QImode move
	R3+=R1	// addqi3_r0r
	R1=R3	// QImode move
	R4=[R1]	// QImode move
	R1=R4	// QImode move
	pc=L86	// Indirect jump
	pc=L88	// Indirect jump
L87:
.debug
	.dw '.stabn 0x44,0,270,',0,0
	.dd LM188-_Maxday
	.dw 0x0d,0x0a
.code
LM188:
	R1=[_Month+1]	// QImode move
	R3=R1+[_Runyear]	// addqi3_r0R
	R1=R3	// QImode move
	pc=L86	// Indirect jump
L88:
.debug
	.dw '.stabn 0x44,0,271,',0,0
	.dd LM189-_Maxday
	.dw 0x0d,0x0a
.code
LM189:
.debug
	.dw '.stabn 0x44,0,271,',0,0
	.dd LM190-_Maxday
	.dw 0x0d,0x0a
.code
LM190:
L86:

	pop bp from [sp]
	retf
	.endp	// end of Maxday

.debug
	.dw '.stabs "Mon:p1",160,0,0,3',0x0d,0x0a
.CODE
.debug
	.dw '.stabf ',0,0
	.dd LME8-_Maxday
	.dw 0x0d,0x0a
.code
LME8:
.code
.debug
	.dw '.stabs "Keywork:F19",36,0,0,',0,0,offset _Keywork,seg _Keywork,0x0d,0x0a
.CODE
.public _Keywork
_Keywork:	.proc
.debug
	.dw '.stabn 0x44,0,274,',0,0
	.dd LM191-_Keywork
	.dw 0x0d,0x0a
.code
LM191:
	// 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,275,',0,0
	.dd LM192-_Keywork
	.dw 0x0d,0x0a
.code
LM192:
	R2=[_Keycode]	// QImode move
	R1=R2+(-123)
	CMP R1,115	// QImode compare
	JNA L117	// QImode GTU
	PC=L115
L117:
	R2=R1	// QImode move
	R1=R2	// QImode move
	R1=R1+L116
	R3=R1	// QImode move
	R2=[R3]	// QImode move
	pc=R2	// tablejump
.text
L116:
	.dw L105
	.dw L115
	.dw L102
	.dw L98
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L114
	.dw L115
	.dw L115
	.dw L115
	.dw L92
	.dw L115
	.dw L101
	.dw L97
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L111
	.dw L115
	.dw L115
	.dw L115
	.dw L104
	.dw L115
	.dw L100
	.dw L96
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L115
	.dw L108
	.dw L115
	.dw L115
	.dw L115
	.dw L103
	.dw L115
	.dw L99
	.dw L95
.code
L92:
.debug
	.dw '.stabn 0x44,0,278,',0,0
	.dd LM193-_Keywork
	.dw 0x0d,0x0a
.code
LM193:
	R1=[_State]	// QImode move
	CMP R1,1	// QImode compare
	JZ L118	// QImode NE
	PC=L93
L118:
.debug
	.dw '.stabn 0x44,0,279,',0,0
	.dd LM194-_Keywork
	.dw 0x0d,0x0a
.code
LM194:
	R1=2	// QImode move
	[_State]=R1	// QImode move
	pc=L94	// Indirect jump
L93:
.debug
	.dw '.stabn 0x44,0,280,',0,0
	.dd LM195-_Keywork
	.dw 0x0d,0x0a
.code
LM195:
	R1=1	// QImode move
	[_State]=R1	// QImode move
L94:
.debug
	.dw '.stabn 0x44,0,281,',0,0
	.dd LM196-_Keywork
	.dw 0x0d,0x0a
.code
LM196:
	pc=L91	// Indirect jump
L95:
.debug
	.dw '.stabn 0x44,0,284,',0,0
	.dd LM197-_Keywork
	.dw 0x0d,0x0a
.code
LM197:
	R1=1	// QImode move
	[SP--]=R1	// QImode move
	R1=[_temp2]	// QImode move
	[SP--]=R1	// QImode move
	call _sheding	// call with return value
	SP=SP+2
.debug
	.dw '.stabn 0x44,0,286,',0,0
	.dd LM198-_Keywork
	.dw 0x0d,0x0a
.code
LM198:
	pc=L91	// Indirect jump
L96:
.debug
	.dw '.stabn 0x44,0,287,',0,0
	.dd LM199-_Keywork
	.dw 0x0d,0x0a
.code
LM199:
	R1=2	// QImode move
	[SP--]=R1	// QImode move
	R1=[_temp2]	// QImode move
	[SP--]=R1	// QImode move
	call _sheding	// call with return value
	SP=SP+2
.debug
	.dw '.stabn 0x44,0,288,',0,0
	.dd LM200-_Keywork
	.dw 0x0d,0x0a
.code
LM200:
	pc=L91	// Indirect jump
L97:
.debug
	.dw '.stabn 0x44,0,289,',0,0
	.dd LM201-_Keywork
	.dw 0x0d,0x0a
.code
LM201:
	R1=3	// QImode move
	[SP--]=R1	// QImode move
	R1=[_temp2]	// QImode move
	[SP--]=R1	// QImode move
	call _sheding	// call with return value
	SP=SP+2
.debug
	.dw '.stabn 0x44,0,290,',0,0
	.dd LM202-_Keywork
	.dw 0x0d,0x0a
.code
LM202:
	pc=L91	// Indirect jump
L98:
.debug
	.dw '.stabn 0x44,0,291,',0,0
	.dd LM203-_Keywork
	.dw 0x0d,0x0a
.code
LM203:
	R1=4	// QImode move
	[SP--]=R1	// QImode move
	R1=[_temp2]	// QImode move
	[SP--]=R1	// QImode move
	call _sheding	// call with return value
	SP=SP+2
.debug
	.dw '.stabn 0x44,0,292,',0,0
	.dd LM204-_Keywork
	.dw 0x0d,0x0a
.code
LM204:
	pc=L91	// Indirect jump
L99:
.debug
	.dw '.stabn 0x44,0,293,',0,0
	.dd LM205-_Keywork
	.dw 0x0d,0x0a
.code
LM205:
	R1=5	// QImode move
	[SP--]=R1	// QImode move
	R1=[_temp2]	// QImode move
	[SP--]=R1	// QImode move
	call _sheding	// call with return value
	SP=SP+2
.debug
	.dw '.stabn 0x44,0,294,',0,0
	.dd LM206-_Keywork
	.dw 0x0d,0x0a
.code
LM206:
	pc=L91	// Indirect jump
L100:
.debug
	.dw '.stabn 0x44,0,295,',0,0
	.dd LM207-_Keywork
	.dw 0x0d,0x0a
.code
LM207:
	R1=6	// QImode move
	[SP--]=R1	// QImode move
	R1=[_temp2]	// QImode move
	[SP--]=R1	// QImode move
	call _sheding	// call with return value
	SP=SP+2
.debug
	.dw '.stabn 0x44,0,296,',0,0
	.dd LM208-_Keywork
	.dw 0x0d,0x0a
.code
LM208:
	pc=L91	// Indirect jump
L101:
.debug
	.dw '.stabn 0x44,0,297,',0,0
	.dd LM209-_Keywork
	.dw 0x0d,0x0a
.code
LM209:
	R1=7	// QImode move
	[SP--]=R1	// QImode move
	R1=[_temp2]	// QImode move
	[SP--]=R1	// QImode move
	call _sheding	// call with return value
	SP=SP+2
.debug
	.dw '.stabn 0x44,0,298,',0,0
	.dd LM210-_Keywork
	.dw 0x0d,0x0a
.code
LM210:
	pc=L91	// Indirect jump
L102:
.debug
	.dw '.stabn 0x44,0,299,',0,0
	.dd LM211-_Keywork
	.dw 0x0d,0x0a
.code
LM211:
	R1=8	// QImode move
	[SP--]=R1	// QImode move
	R1=[_temp2]	// QImode move
	[SP--]=R1	// QImode move
	call _sheding	// call with return value
	SP=SP+2
.debug
	.dw '.stabn 0x44,0,300,',0,0
	.dd LM212-_Keywork
	.dw 0x0d,0x0a
.code
LM212:
	pc=L91	// Indirect jump
L103:
.debug
	.dw '.stabn 0x44,0,301,',0,0
	.dd LM213-_Keywork
	.dw 0x0d,0x0a
.code
LM213:
	R1=9	// QImode move
	[SP--]=R1	// QImode move
	R1=[_temp2]	// QImode move
	[SP--]=R1	// QImode move
	call _sheding	// call with return value
	SP=SP+2
.debug
	.dw '.stabn 0x44,0,302,',0,0
	.dd LM214-_Keywork
	.dw 0x0d,0x0a
.code
LM214:
	pc=L91	// Indirect jump
L104:
.debug
	.dw '.stabn 0x44,0,303,',0,0
	.dd LM215-_Keywork
	.dw 0x0d,0x0a
.code
LM215:
	R1=0	// QImode move
	[SP--]=R1	// QImode move
	R1=[_temp2]	// QImode move
	[SP--]=R1	// QImode move
	call _sheding	// call with return value
	SP=SP+2
.debug
	.dw '.stabn 0x44,0,304,',0,0
	.dd LM216-_Keywork
	.dw 0x0d,0x0a
.code
LM216:
	pc=L91	// Indirect jump
L105:
.debug
	.dw '.stabn 0x44,0,309,',0,0
	.dd LM217-_Keywork
	.dw 0x0d,0x0a
.code
LM217:
	R1=[_stopflag]	// QImode move
	CMP R1,0	// QImode test
	JZ L119	// QImode NE
	PC=L106
L119:
.debug
	.dw '.stabn 0x44,0,311,',0,0
	.dd LM218-_Keywork
	.dw 0x0d,0x0a
.code

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -