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

📄 12.asm

📁 该程序是用C编写的
💻 ASM
📖 第 1 页 / 共 2 页
字号:
	.dw '.stabn 0x44,0,81,',0,0
	.dd LM53-_display2
	.dw 0x0d,0x0a
.code
LM53:
	R1=[BP]	// QImode move
// GCC inline ASM start
	[P_IOB_Data]=R1
// GCC inline ASM end
.debug
	.dw '.stabn 0x44,0,82,',0,0
	.dd LM54-_display2
	.dw 0x0d,0x0a
.code
LM54:
	call _Delay2	// call with return value
.debug
	.dw '.stabn 0x44,0,84,',0,0
	.dd LM55-_display2
	.dw 0x0d,0x0a
.code
LM55:
	R1=[_day]	// 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,85,',0,0
	.dd LM56-_display2
	.dw 0x0d,0x0a
.code
LM56:
	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,86,',0,0
	.dd LM57-_display2
	.dw 0x0d,0x0a
.code
LM57:
	R1=[BP]	// QImode move
	R2=R1|1536
	[BP]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,87,',0,0
	.dd LM58-_display2
	.dw 0x0d,0x0a
.code
LM58:
	R1=[BP]	// QImode move
// GCC inline ASM start
	[P_IOB_Data]=R1
// GCC inline ASM end
.debug
	.dw '.stabn 0x44,0,88,',0,0
	.dd LM59-_display2
	.dw 0x0d,0x0a
.code
LM59:
	call _Delay2	// call with return value
.debug
	.dw '.stabn 0x44,0,90,',0,0
	.dd LM60-_display2
	.dw 0x0d,0x0a
.code
LM60:
	R1=[_month]	// 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,91,',0,0
	.dd LM61-_display2
	.dw 0x0d,0x0a
.code
LM61:
	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,92,',0,0
	.dd LM62-_display2
	.dw 0x0d,0x0a
.code
LM62:
	R1=[BP]	// QImode move
	R2=R1|1280
	[BP]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,93,',0,0
	.dd LM63-_display2
	.dw 0x0d,0x0a
.code
LM63:
	R1=[BP]	// QImode move
	R2=R1|128
	[BP]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,94,',0,0
	.dd LM64-_display2
	.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,95,',0,0
	.dd LM65-_display2
	.dw 0x0d,0x0a
.code
LM65:
	call _Delay2	// call with return value
.debug
	.dw '.stabn 0x44,0,97,',0,0
	.dd LM66-_display2
	.dw 0x0d,0x0a
.code
LM66:
	R1=[_month]	// 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,98,',0,0
	.dd LM67-_display2
	.dw 0x0d,0x0a
.code
LM67:
	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,99,',0,0
	.dd LM68-_display2
	.dw 0x0d,0x0a
.code
LM68:
	R1=[BP]	// QImode move
	R2=R1|1024
	[BP]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,100,',0,0
	.dd LM69-_display2
	.dw 0x0d,0x0a
.code
LM69:
	R1=[BP]	// QImode move
// GCC inline ASM start
	[P_IOB_Data]=R1
// GCC inline ASM end
.debug
	.dw '.stabn 0x44,0,101,',0,0
	.dd LM70-_display2
	.dw 0x0d,0x0a
.code
LM70:
	call _Delay2	// call with return value
.debug
	.dw '.stabn 0x44,0,103,',0,0
	.dd LM71-_display2
	.dw 0x0d,0x0a
.code
LM71:
	R1=[_year]	// QImode move
	R2=1000	// 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,104,',0,0
	.dd LM72-_display2
	.dw 0x0d,0x0a
.code
LM72:
	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,106,',0,0
	.dd LM73-_display2
	.dw 0x0d,0x0a
.code
LM73:
	R1=[BP]	// QImode move
// GCC inline ASM start
	[P_IOB_Data]=R1
// GCC inline ASM end
.debug
	.dw '.stabn 0x44,0,107,',0,0
	.dd LM74-_display2
	.dw 0x0d,0x0a
.code
LM74:
	call _Delay2	// call with return value
.debug
	.dw '.stabn 0x44,0,109,',0,0
	.dd LM75-_display2
	.dw 0x0d,0x0a
.code
LM75:
	R1=[_year]	// QImode move
	R2=100	// QImode move
	[SP--]=R2	// QImode move
	[SP--]=R1	// QImode move
	call __divi1	// call with return value
	SP=SP+2
	[bp+2]=R1	// QImode move
	R1=[_year]	// QImode move
	R2=1000	// QImode move
	[SP--]=R2	// QImode move
	[SP--]=R1	// QImode move
	call __divi1	// call with return value
	SP=SP+2
	R2=10	// QImode move
	mr=R1*R2	// r3=R1*R2 16bit=16bit*16bit
	R1=[bp+2]	// QImode move
	R1-=R3
	[BP]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,110,',0,0
	.dd LM76-_display2
	.dw 0x0d,0x0a
.code
LM76:
	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,111,',0,0
	.dd LM77-_display2
	.dw 0x0d,0x0a
.code
LM77:
	R1=[BP]	// QImode move
	R2=R1|256
	[BP]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,112,',0,0
	.dd LM78-_display2
	.dw 0x0d,0x0a
.code
LM78:
	R1=[BP]	// QImode move
// GCC inline ASM start
	[P_IOB_Data]=R1
// GCC inline ASM end
.debug
	.dw '.stabn 0x44,0,113,',0,0
	.dd LM79-_display2
	.dw 0x0d,0x0a
.code
LM79:
	call _Delay2	// call with return value
.debug
	.dw '.stabn 0x44,0,115,',0,0
	.dd LM80-_display2
	.dw 0x0d,0x0a
.code
LM80:
	R1=[_year]	// QImode move
	R2=10	// QImode move
	[SP--]=R2	// QImode move
	[SP--]=R1	// QImode move
	call __modi1	// call with return value
	SP=SP+2
	R2=R1	// QImode move
	R3=[_year]	// QImode move
	R1=R3	// QImode move
	R1-=R2
	R2=10	// QImode move
	[SP--]=R2	// QImode move
	[SP--]=R1	// QImode move
	call __divi1	// call with return value
	SP=SP+2
	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,116,',0,0
	.dd LM81-_display2
	.dw 0x0d,0x0a
.code
LM81:
	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,117,',0,0
	.dd LM82-_display2
	.dw 0x0d,0x0a
.code
LM82:
	R1=[BP]	// QImode move
	R2=R1|512
	[BP]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,118,',0,0
	.dd LM83-_display2
	.dw 0x0d,0x0a
.code
LM83:
	R1=[BP]	// QImode move
// GCC inline ASM start
	[P_IOB_Data]=R1
// GCC inline ASM end
.debug
	.dw '.stabn 0x44,0,119,',0,0
	.dd LM84-_display2
	.dw 0x0d,0x0a
.code
LM84:
	call _Delay2	// call with return value
.debug
	.dw '.stabn 0x44,0,121,',0,0
	.dd LM85-_display2
	.dw 0x0d,0x0a
.code
LM85:
	R1=[_year]	// 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,122,',0,0
	.dd LM86-_display2
	.dw 0x0d,0x0a
.code
LM86:
	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,123,',0,0
	.dd LM87-_display2
	.dw 0x0d,0x0a
.code
LM87:
	R1=[BP]	// QImode move
	R2=R1|768
	[BP]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,124,',0,0
	.dd LM88-_display2
	.dw 0x0d,0x0a
.code
LM88:
	R1=[BP]	// QImode move
	R2=R1|128
	[BP]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,125,',0,0
	.dd LM89-_display2
	.dw 0x0d,0x0a
.code
LM89:
	R1=[BP]	// QImode move
// GCC inline ASM start
	[P_IOB_Data]=R1
// GCC inline ASM end
.debug
	.dw '.stabn 0x44,0,126,',0,0
	.dd LM90-_display2
	.dw 0x0d,0x0a
.code
LM90:
	call _Delay2	// call with return value
.debug
	.dw '.stabn 0x44,0,127,',0,0
	.dd LM91-_display2
	.dw 0x0d,0x0a
.code
LM91:
LBE5:
	pc=L13	// Indirect jump
L14:
.debug
	.dw '.stabn 0x44,0,128,',0,0
	.dd LM92-_display2
	.dw 0x0d,0x0a
.code
LM92:
LBE4:
.debug
	.dw '.stabn 0x44,0,128,',0,0
	.dd LM93-_display2
	.dw 0x0d,0x0a
.code
LM93:
L12:

	sp+=3
	pop bp from [sp]
	retf
	.endp	// end of display2

.debug
	.dw '.stabn 0xc0,0,0,',0,0
	.dd LBB4-_display2
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabs "temp:1",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabn 0xc0,0,0,',0,0
	.dd LBB5-_display2
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabn 0xe0,0,0,',0,0
	.dd LBE5-_display2
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabn 0xe0,0,0,',0,0
	.dd LBE4-_display2
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabf ',0,0
	.dd LME2-_display2
	.dw 0x0d,0x0a
.code
LME2:
.code
.debug
	.dw '.stabs "Delay1:F19",36,0,0,',0,0,offset _Delay1,seg _Delay1,0x0d,0x0a
.CODE
.public _Delay1
_Delay1:	.proc
.debug
	.dw '.stabn 0x44,0,130,',0,0
	.dd LM94-_Delay1
	.dw 0x0d,0x0a
.code
LM94:
	// 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,130,',0,0
	.dd LM95-_Delay1
	.dw 0x0d,0x0a
.code
LM95:
LBB6:
	R2=0	// QImode move
	[BP]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,131,',0,0
	.dd LM96-_Delay1
	.dw 0x0d,0x0a
.code
LM96:
L23:
	R2=[BP]	// QImode move
	CMP R2,189	// QImode compare
	JG L27	// QImode LE
	PC=L26
L27:
	pc=L24	// Indirect jump
L26:
	R2=[BP]	// QImode move
	R3=R2+1
	[BP]=R3	// QImode move
L25:
	pc=L23	// Indirect jump
L24:
.debug
	.dw '.stabn 0x44,0,132,',0,0
	.dd LM97-_Delay1
	.dw 0x0d,0x0a
.code
LM97:
	pc=L22	// Indirect jump
LBE6:
.debug
	.dw '.stabn 0x44,0,132,',0,0
	.dd LM98-_Delay1
	.dw 0x0d,0x0a
.code
LM98:
L22:

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

.debug
	.dw '.stabn 0xc0,0,0,',0,0
	.dd LBB6-_Delay1
	.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 LBE6-_Delay1
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabf ',0,0
	.dd LME3-_Delay1
	.dw 0x0d,0x0a
.code
LME3:
.code
.debug
	.dw '.stabs "Delay2:F19",36,0,0,',0,0,offset _Delay2,seg _Delay2,0x0d,0x0a
.CODE
.public _Delay2
_Delay2:	.proc
.debug
	.dw '.stabn 0x44,0,134,',0,0
	.dd LM99-_Delay2
	.dw 0x0d,0x0a
.code
LM99:
	// 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,134,',0,0
	.dd LM100-_Delay2
	.dw 0x0d,0x0a
.code
LM100:
LBB7:
	R2=0	// QImode move
	[BP]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,135,',0,0
	.dd LM101-_Delay2
	.dw 0x0d,0x0a
.code
LM101:
L29:
	R2=[BP]	// QImode move
	CMP R2,189	// QImode compare
	JG L33	// QImode LE
	PC=L32
L33:
	pc=L30	// Indirect jump
L32:
	R2=[BP]	// QImode move
	R3=R2+1
	[BP]=R3	// QImode move
L31:
	pc=L29	// Indirect jump
L30:
.debug
	.dw '.stabn 0x44,0,136,',0,0
	.dd LM102-_Delay2
	.dw 0x0d,0x0a
.code
LM102:
	pc=L28	// Indirect jump
.debug
	.dw '.stabn 0x44,0,137,',0,0
	.dd LM103-_Delay2
	.dw 0x0d,0x0a
.code
LM103:
LBE7:
.debug
	.dw '.stabn 0x44,0,137,',0,0
	.dd LM104-_Delay2
	.dw 0x0d,0x0a
.code
LM104:
L28:

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

.debug
	.dw '.stabn 0xc0,0,0,',0,0
	.dd LBB7-_Delay2
	.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 LBE7-_Delay2
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabf ',0,0
	.dd LME4-_Delay2
	.dw 0x0d,0x0a
.code
LME4:
.external _year
.external _month
.external _day
.external _irq_change
.external _key_change
.external _Hour
.external _Min
.external _Tabel
.external _Sec
.external _i5
.external _i3
.external _keycode
.external __modi1
.external __divi1
	.end

⌨️ 快捷键说明

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