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

📄 interface.asm

📁 此程序为出租车计价器
💻 ASM
📖 第 1 页 / 共 5 页
字号:
	R1=_encoding_17	// QImode move
	[SP--]=R1	// QImode move
	R1=44	// QImode move
	[SP--]=R1	// QImode move
	R1=0	// QImode move
	[SP--]=R1	// QImode move
	call _LCD501_Bitmap	// call without return value
	SP=SP+3
.debug
	.dw '.stabn 0x44,0,103,',0,0
	.dd LM46-_InterFace_DrawBaseInterFace
	.dw 0x0d,0x0a
.code
LM46:
	R1=_encoding_18	// QImode move
	[SP--]=R1	// QImode move
	R1=44	// QImode move
	[SP--]=R1	// QImode move
	R1=12	// QImode move
	[SP--]=R1	// QImode move
	call _LCD501_Bitmap	// call without return value
	SP=SP+3
.debug
	.dw '.stabn 0x44,0,104,',0,0
	.dd LM47-_InterFace_DrawBaseInterFace
	.dw 0x0d,0x0a
.code
LM47:
	R1=58	// QImode move
	[SP--]=R1	// QImode move
	R1=48	// QImode move
	[SP--]=R1	// QImode move
	R1=24	// QImode move
	[SP--]=R1	// QImode move
	call _LCD501_PutChar	// call without return value
	SP=SP+3
.debug
	.dw '.stabn 0x44,0,105,',0,0
	.dd LM48-_InterFace_DrawBaseInterFace
	.dw 0x0d,0x0a
.code
LM48:
.debug
	.dw '.stabn 0x44,0,105,',0,0
	.dd LM49-_InterFace_DrawBaseInterFace
	.dw 0x0d,0x0a
.code
LM49:
L6:

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

.debug
	.dw '.stabf ',0,0
	.dd LME5-_InterFace_DrawBaseInterFace
	.dw 0x0d,0x0a
.code
LME5:
.code
.debug
	.dw '.stabs "InterFace_UpdateYear:F19",36,0,0,',0,0,offset _InterFace_UpdateYear,seg _InterFace_UpdateYear,0x0d,0x0a
.CODE
.public _InterFace_UpdateYear
_InterFace_UpdateYear:	.proc
.debug
	.dw '.stabn 0x44,0,114,',0,0
	.dd LM50-_InterFace_UpdateYear
	.dw 0x0d,0x0a
.code
LM50:
	// 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,115,',0,0
	.dd LM51-_InterFace_UpdateYear
	.dw 0x0d,0x0a
.code
LM51:
	R2=[BP]	// QImode move
	R1=[R2]	// QImode move
	[SP--]=R1	// QImode move
	R1=4	// QImode move
	[SP--]=R1	// QImode move
	R1=0	// QImode move
	[SP--]=R1	// QImode move
	R1=0	// QImode move
	[SP--]=R1	// QImode move
	call _InterFace_In_DisNumber	// call with return value
	SP=SP+4
.debug
	.dw '.stabn 0x44,0,116,',0,0
	.dd LM52-_InterFace_UpdateYear
	.dw 0x0d,0x0a
.code
LM52:
.debug
	.dw '.stabn 0x44,0,116,',0,0
	.dd LM53-_InterFace_UpdateYear
	.dw 0x0d,0x0a
.code
LM53:
L7:

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

.debug
	.dw '.stabs "Year:p4",160,0,0,4',0x0d,0x0a
.CODE
.debug
	.dw '.stabf ',0,0
	.dd LME6-_InterFace_UpdateYear
	.dw 0x0d,0x0a
.code
LME6:
.code
.debug
	.dw '.stabs "InterFace_UpdateMonth:F19",36,0,0,',0,0,offset _InterFace_UpdateMonth,seg _InterFace_UpdateMonth,0x0d,0x0a
.CODE
.public _InterFace_UpdateMonth
_InterFace_UpdateMonth:	.proc
.debug
	.dw '.stabn 0x44,0,125,',0,0
	.dd LM54-_InterFace_UpdateMonth
	.dw 0x0d,0x0a
.code
LM54:
	// 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,126,',0,0
	.dd LM55-_InterFace_UpdateMonth
	.dw 0x0d,0x0a
.code
LM55:
	R2=[BP]	// QImode move
	R1=[R2]	// QImode move
	[SP--]=R1	// QImode move
	R1=2	// QImode move
	[SP--]=R1	// QImode move
	R1=0	// QImode move
	[SP--]=R1	// QImode move
	R1=30	// QImode move
	[SP--]=R1	// QImode move
	call _InterFace_In_DisNumber	// call with return value
	SP=SP+4
.debug
	.dw '.stabn 0x44,0,127,',0,0
	.dd LM56-_InterFace_UpdateMonth
	.dw 0x0d,0x0a
.code
LM56:
.debug
	.dw '.stabn 0x44,0,127,',0,0
	.dd LM57-_InterFace_UpdateMonth
	.dw 0x0d,0x0a
.code
LM57:
L8:

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

.debug
	.dw '.stabs "Month:p4",160,0,0,4',0x0d,0x0a
.CODE
.debug
	.dw '.stabf ',0,0
	.dd LME7-_InterFace_UpdateMonth
	.dw 0x0d,0x0a
.code
LME7:
.code
.debug
	.dw '.stabs "InterFace_UpdateDay:F19",36,0,0,',0,0,offset _InterFace_UpdateDay,seg _InterFace_UpdateDay,0x0d,0x0a
.CODE
.public _InterFace_UpdateDay
_InterFace_UpdateDay:	.proc
.debug
	.dw '.stabn 0x44,0,136,',0,0
	.dd LM58-_InterFace_UpdateDay
	.dw 0x0d,0x0a
.code
LM58:
	// 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,137,',0,0
	.dd LM59-_InterFace_UpdateDay
	.dw 0x0d,0x0a
.code
LM59:
	R2=[BP]	// QImode move
	R1=[R2]	// QImode move
	[SP--]=R1	// QImode move
	R1=2	// QImode move
	[SP--]=R1	// QImode move
	R1=0	// QImode move
	[SP--]=R1	// QImode move
	R1=48	// QImode move
	[SP--]=R1	// QImode move
	call _InterFace_In_DisNumber	// call with return value
	SP=SP+4
.debug
	.dw '.stabn 0x44,0,138,',0,0
	.dd LM60-_InterFace_UpdateDay
	.dw 0x0d,0x0a
.code
LM60:
.debug
	.dw '.stabn 0x44,0,138,',0,0
	.dd LM61-_InterFace_UpdateDay
	.dw 0x0d,0x0a
.code
LM61:
L9:

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

.debug
	.dw '.stabs "Day:p4",160,0,0,4',0x0d,0x0a
.CODE
.debug
	.dw '.stabf ',0,0
	.dd LME8-_InterFace_UpdateDay
	.dw 0x0d,0x0a
.code
LME8:
.code
.debug
	.dw '.stabs "InterFace_UpdateDate:F19",36,0,0,',0,0,offset _InterFace_UpdateDate,seg _InterFace_UpdateDate,0x0d,0x0a
.CODE
.public _InterFace_UpdateDate
_InterFace_UpdateDate:	.proc
.debug
	.dw '.stabn 0x44,0,147,',0,0
	.dd LM62-_InterFace_UpdateDate
	.dw 0x0d,0x0a
.code
LM62:
	// total=2, vars=2
	// frame_pointer_needed: 1
	push bp to [sp]
	sp-=2
	bp=sp+1

	R1=BP+5
	[bp+1]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,148,',0,0
	.dd LM63-_InterFace_UpdateDate
	.dw 0x0d,0x0a
.code
LM63:
LBB2:
.debug
	.dw '.stabn 0x44,0,149,',0,0
	.dd LM64-_InterFace_UpdateDate
	.dw 0x0d,0x0a
.code
LM64:
	call _Cal_DateChanged	// call with return value
	CMP R1,0	// QImode test
	JNZ L12	// QImode EQ
	PC=L11
L12:
.debug
	.dw '.stabn 0x44,0,151,',0,0
	.dd LM65-_InterFace_UpdateDate
	.dw 0x0d,0x0a
.code
LM65:
	call _Cal_GetYear	// call with return value
	[BP]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,152,',0,0
	.dd LM66-_InterFace_UpdateDate
	.dw 0x0d,0x0a
.code
LM66:
	R1=[BP]	// QImode move
	[SP--]=R1	// QImode move
	call _InterFace_UpdateYear	// call without return value
	SP=SP+1
.debug
	.dw '.stabn 0x44,0,153,',0,0
	.dd LM67-_InterFace_UpdateDate
	.dw 0x0d,0x0a
.code
LM67:
	call _Cal_GetMonth	// call with return value
	[BP]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,154,',0,0
	.dd LM68-_InterFace_UpdateDate
	.dw 0x0d,0x0a
.code
LM68:
	R1=[BP]	// QImode move
	[SP--]=R1	// QImode move
	call _InterFace_UpdateMonth	// call without return value
	SP=SP+1
.debug
	.dw '.stabn 0x44,0,155,',0,0
	.dd LM69-_InterFace_UpdateDate
	.dw 0x0d,0x0a
.code
LM69:
	call _Cal_GetDay	// call with return value
	[BP]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,156,',0,0
	.dd LM70-_InterFace_UpdateDate
	.dw 0x0d,0x0a
.code
LM70:
	R1=[BP]	// QImode move
	[SP--]=R1	// QImode move
	call _InterFace_UpdateDay	// call without return value
	SP=SP+1
L11:
.debug
	.dw '.stabn 0x44,0,158,',0,0
	.dd LM71-_InterFace_UpdateDate
	.dw 0x0d,0x0a
.code
LM71:
LBE2:
.debug
	.dw '.stabn 0x44,0,158,',0,0
	.dd LM72-_InterFace_UpdateDate
	.dw 0x0d,0x0a
.code
LM72:
L10:

	sp+=2
	pop bp from [sp]
	retf
	.endp	// end of InterFace_UpdateDate

.debug
	.dw '.stabn 0xc0,0,0,',0,0
	.dd LBB2-_InterFace_UpdateDate
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabs "uiTemp:4",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabn 0xe0,0,0,',0,0
	.dd LBE2-_InterFace_UpdateDate
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabf ',0,0
	.dd LME9-_InterFace_UpdateDate
	.dw 0x0d,0x0a
.code
LME9:
.code
.debug
	.dw '.stabs "InterFace_UpdateHour:F19",36,0,0,',0,0,offset _InterFace_UpdateHour,seg _InterFace_UpdateHour,0x0d,0x0a
.CODE
.public _InterFace_UpdateHour
_InterFace_UpdateHour:	.proc
.debug
	.dw '.stabn 0x44,0,167,',0,0
	.dd LM73-_InterFace_UpdateHour
	.dw 0x0d,0x0a
.code
LM73:
	// 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,168,',0,0
	.dd LM74-_InterFace_UpdateHour
	.dw 0x0d,0x0a
.code
LM74:
	R2=[BP]	// QImode move
	R1=[R2]	// QImode move
	[SP--]=R1	// QImode move
	R1=2	// QImode move
	[SP--]=R1	// QImode move
	R1=0	// QImode move
	[SP--]=R1	// QImode move
	R1=66	// QImode move
	[SP--]=R1	// QImode move
	call _InterFace_In_DisNumber	// call with return value
	SP=SP+4
.debug
	.dw '.stabn 0x44,0,169,',0,0
	.dd LM75-_InterFace_UpdateHour
	.dw 0x0d,0x0a
.code
LM75:
.debug
	.dw '.stabn 0x44,0,169,',0,0
	.dd LM76-_InterFace_UpdateHour
	.dw 0x0d,0x0a
.code
LM76:
L13:

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

.debug
	.dw '.stabs "Hour:p4",160,0,0,4',0x0d,0x0a
.CODE
.debug
	.dw '.stabf ',0,0
	.dd LME10-_InterFace_UpdateHour
	.dw 0x0d,0x0a
.code
LME10:
.code
.debug
	.dw '.stabs "InterFace_UpdateMinute:F19",36,0,0,',0,0,offset _InterFace_UpdateMinute,seg _InterFace_UpdateMinute,0x0d,0x0a
.CODE
.public _InterFace_UpdateMinute
_InterFace_UpdateMinute:	.proc
.debug
	.dw '.stabn 0x44,0,178,',0,0
	.dd LM77-_InterFace_UpdateMinute
	.dw 0x0d,0x0a
.code
LM77:
	// 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,179,',0,0
	.dd LM78-_InterFace_UpdateMinute
	.dw 0x0d,0x0a
.code
LM78:
	R2=[BP]	// QImode move
	R1=[R2]	// QImode move
	[SP--]=R1	// QImode move
	R1=2	// QImode move
	[SP--]=R1	// QImode move
	R1=0	// QImode move
	[SP--]=R1	// QImode move
	R1=84	// QImode move
	[SP--]=R1	// QImode move
	call _InterFace_In_DisNumber	// call with return value
	SP=SP+4
.debug
	.dw '.stabn 0x44,0,180,',0,0
	.dd LM79-_InterFace_UpdateMinute
	.dw 0x0d,0x0a
.code
LM79:
.debug
	.dw '.stabn 0x44,0,180,',0,0
	.dd LM80-_InterFace_UpdateMinute
	.dw 0x0d,0x0a
.code
LM80:
L14:

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

.debug
	.dw '.stabs "Minute:p4",160,0,0,4',0x0d,0x0a
.CODE
.debug
	.dw '.stabf ',0,0
	.dd LME11-_InterFace_UpdateMinute
	.dw 0x0d,0x0a
.code
LME11:
.code
.debug
	.dw '.stabs "InterFace_UpdateTime:F19",36,0,0,',0,0,offset _InterFace_UpdateTime,seg _InterFace_UpdateTime,0x0d,0x0a
.CODE
.public _InterFace_UpdateTime
_InterFace_UpdateTime:	.proc
.debug
	.dw '.stabn 0x44,0,189,',0,0
	.dd LM81-_InterFace_UpdateTime
	.dw 0x0d,0x0a
.code
LM81:
	// total=2, vars=2
	// frame_pointer_needed: 1
	push bp to [sp]
	sp-=2
	bp=sp+1

	R1=BP+5
	[bp+1]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,190,',0,0
	.dd LM82-_InterFace_UpdateTime
	.dw 0x0d,0x0a
.code
LM82:
LBB3:
.debug
	.dw '.stabn 0x44,0,191,',0,0
	.dd LM83-_InterFace_UpdateTime
	.dw 0x0d,0x0a
.code
LM83:
	call _Cal_MinuteChanged	// call with return value
	CMP R1,0	// QImode test
	JNZ L17	// QImode EQ
	PC=L16
L17:
.debug
	.dw '.stabn 0x44,0,193,',0,0
	.dd LM84-_InterFace_UpdateTime
	.dw 0x0d,0x0a
.code
LM84:
	call _Cal_GetHour	// call with return value
	[BP]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,194,',0,0
	.dd LM85-_InterFace_UpdateTime
	.dw 0x0d,0x0a
.code
LM85:
	R1=[BP]	// QImode move
	[SP--]=R1	// QImode move
	call _InterFace_UpdateHour	// call without return value
	SP=SP+1
.debug
	.dw '.stabn 0x44,0,195,',0,0
	.dd LM86-_InterFace_UpdateTime
	.dw 0x0d,0x0a
.code
LM86:
	call _Cal_GetMinute	// call with return value
	[BP]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,196,',0,0
	.dd LM87-_InterFace_UpdateTime
	.dw 0x0d,0x0a
.code
LM87:
	R1=[BP]	// QImode move
	[SP--]=R1	// QImode move
	call _InterFace_UpdateMinute	// call without return value
	SP=SP+1
L16:
.debug
	.dw '.stabn 0x44,0,198,',0,0
	.dd LM88-_InterFace_UpdateTime
	.dw 0x0d,0x0a
.code
LM88:
LBE3:
.debug
	.dw '.stabn 0x44,0,198,',0,0
	.dd LM89-_InterFace_UpdateTime
	.dw 0x0d,0x0a
.code
LM89:
L15:

	sp+=2
	pop bp from [sp]
	retf
	.endp	// end of InterFace_UpdateTime

.debug
	.dw '.stabn 0xc0,0,0,',0,0
	.dd LBB3-_InterFace_UpdateTime
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabs "uiTemp:4",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabn 0xe0,0,0,',0,0
	.dd LBE3-_InterFace_UpdateTime
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabf ',0,0
	.dd LME12-_InterFace_UpdateTime
	.dw 0x0d,0x0a
.code
LME12:
.code
.debug

⌨️ 快捷键说明

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