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

📄 interface.asm

📁 此程序为出租车计价器
💻 ASM
📖 第 1 页 / 共 5 页
字号:
	R1=36	// QImode move
	[SP--]=R1	// QImode move
	R1=BP	// QImode move
	R2=BP+5
	R4=R2	// QImode move
	R1=[R4]	// QImode move
	[SP--]=R1	// QImode move
	call _InterFace_In_DisNumber	// call with return value
	SP=SP+4
	R2=BP	// QImode move
	R3=BP+5
	R2=R3	// QImode move
	[R2]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,284,',0,0
	.dd LM134-_InterFace_UpdateWaitTime
	.dw 0x0d,0x0a
.code
LM134:
	R1=45	// QImode move
	[SP--]=R1	// QImode move
	R1=36	// QImode move
	[SP--]=R1	// QImode move
	R1=BP	// QImode move
	R2=BP+5
	R3=R2	// QImode move
	R1=[R3]	// QImode move
	[SP--]=R1	// QImode move
	call _LCD501_PutChar	// call without return value
	SP=SP+3
.debug
	.dw '.stabn 0x44,0,285,',0,0
	.dd LM135-_InterFace_UpdateWaitTime
	.dw 0x0d,0x0a
.code
LM135:
	R2=BP	// QImode move
	R1=BP+5
	R2=BP	// QImode move
	R3=BP+5
	R4=R3	// QImode move
	R2=[R4]	// QImode move
	R3=R2+6
	R2=R1	// QImode move
	[R2]=R3	// QImode move
.debug
	.dw '.stabn 0x44,0,286,',0,0
	.dd LM136-_InterFace_UpdateWaitTime
	.dw 0x0d,0x0a
.code
LM136:
	R1=BP	// QImode move
	R2=BP+4
	R3=R2	// QImode move
	R1=[R3]	// QImode move
	[SP--]=R1	// QImode move
	R1=2	// QImode move
	[SP--]=R1	// QImode move
	R1=36	// QImode move
	[SP--]=R1	// QImode move
	R1=BP	// QImode move
	R2=BP+5
	R4=R2	// QImode move
	R1=[R4]	// QImode move
	[SP--]=R1	// QImode move
	call _InterFace_In_DisNumber	// call with return value
	SP=SP+4
.debug
	.dw '.stabn 0x44,0,287,',0,0
	.dd LM137-_InterFace_UpdateWaitTime
	.dw 0x0d,0x0a
.code
LM137:
LBE6:
.debug
	.dw '.stabn 0x44,0,287,',0,0
	.dd LM138-_InterFace_UpdateWaitTime
	.dw 0x0d,0x0a
.code
LM138:
L25:

	sp+=10
	pop bp from [sp]
	retf
	.endp	// end of InterFace_UpdateWaitTime

.debug
	.dw '.stabn 0xc0,0,0,',0,0
	.dd LBB6-_InterFace_UpdateWaitTime
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabs "lTemp:5",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "Hour:4",128,0,0,2',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "Minute:4",128,0,0,3',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "Second:4",128,0,0,4',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "uiTempPos:4",128,0,0,5',0x0d,0x0a
.CODE
.debug
	.dw '.stabn 0xe0,0,0,',0,0
	.dd LBE6-_InterFace_UpdateWaitTime
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabf ',0,0
	.dd LME16-_InterFace_UpdateWaitTime
	.dw 0x0d,0x0a
.code
LME16:
.code
.debug
	.dw '.stabs "InterFace_UpdateCost:F19",36,0,0,',0,0,offset _InterFace_UpdateCost,seg _InterFace_UpdateCost,0x0d,0x0a
.CODE
.public _InterFace_UpdateCost
_InterFace_UpdateCost:	.proc
.debug
	.dw '.stabn 0x44,0,296,',0,0
	.dd LM139-_InterFace_UpdateCost
	.dw 0x0d,0x0a
.code
LM139:
	// 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,297,',0,0
	.dd LM140-_InterFace_UpdateCost
	.dw 0x0d,0x0a
.code
LM140:
LBB7:
.debug
	.dw '.stabn 0x44,0,298,',0,0
	.dd LM141-_InterFace_UpdateCost
	.dw 0x0d,0x0a
.code
LM141:
	call _Cost_GetCost	// call with return value
	push R1,R2 to [sp]	// pushhf
	R1=48	// QImode move
	[SP--]=R1	// QImode move
	R1=30	// QImode move
	[SP--]=R1	// QImode move
	call _InterFace_In_DisFloat	// call with return value
	SP=SP+4
	[BP]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,299,',0,0
	.dd LM142-_InterFace_UpdateCost
	.dw 0x0d,0x0a
.code
LM142:
	R1=_encoding_19	// QImode move
	[SP--]=R1	// QImode move
	R1=44	// QImode move
	[SP--]=R1	// QImode move
	R1=[BP]	// QImode move
	[SP--]=R1	// QImode move
	call _LCD501_Bitmap	// call without return value
	SP=SP+3
.debug
	.dw '.stabn 0x44,0,300,',0,0
	.dd LM143-_InterFace_UpdateCost
	.dw 0x0d,0x0a
.code
LM143:
	R1=32	// QImode move
	[SP--]=R1	// QImode move
	R1=44	// QImode move
	[SP--]=R1	// QImode move
	R2=[BP]	// QImode move
	R1=R2+12
	[SP--]=R1	// QImode move
	call _LCD501_PutChar	// call without return value
	SP=SP+3
.debug
	.dw '.stabn 0x44,0,301,',0,0
	.dd LM144-_InterFace_UpdateCost
	.dw 0x0d,0x0a
.code
LM144:
	R1=32	// QImode move
	[SP--]=R1	// QImode move
	R1=48	// QImode move
	[SP--]=R1	// QImode move
	R2=[BP]	// QImode move
	R1=R2+12
	[SP--]=R1	// QImode move
	call _LCD501_PutChar	// call without return value
	SP=SP+3
.debug
	.dw '.stabn 0x44,0,302,',0,0
	.dd LM145-_InterFace_UpdateCost
	.dw 0x0d,0x0a
.code
LM145:
	R1=32	// QImode move
	[SP--]=R1	// QImode move
	R1=44	// QImode move
	[SP--]=R1	// QImode move
	R2=[BP]	// QImode move
	R1=R2+18
	[SP--]=R1	// QImode move
	call _LCD501_PutChar	// call without return value
	SP=SP+3
.debug
	.dw '.stabn 0x44,0,303,',0,0
	.dd LM146-_InterFace_UpdateCost
	.dw 0x0d,0x0a
.code
LM146:
	R1=32	// QImode move
	[SP--]=R1	// QImode move
	R1=48	// QImode move
	[SP--]=R1	// QImode move
	R2=[BP]	// QImode move
	R1=R2+18
	[SP--]=R1	// QImode move
	call _LCD501_PutChar	// call without return value
	SP=SP+3
.debug
	.dw '.stabn 0x44,0,304,',0,0
	.dd LM147-_InterFace_UpdateCost
	.dw 0x0d,0x0a
.code
LM147:
LBE7:
.debug
	.dw '.stabn 0x44,0,304,',0,0
	.dd LM148-_InterFace_UpdateCost
	.dw 0x0d,0x0a
.code
LM148:
L26:

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

.debug
	.dw '.stabn 0xc0,0,0,',0,0
	.dd LBB7-_InterFace_UpdateCost
	.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 LBE7-_InterFace_UpdateCost
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabf ',0,0
	.dd LME17-_InterFace_UpdateCost
	.dw 0x0d,0x0a
.code
LME17:
.code
.debug
	.dw '.stabs "InterFace_UpdateStatus:F19",36,0,0,',0,0,offset _InterFace_UpdateStatus,seg _InterFace_UpdateStatus,0x0d,0x0a
.CODE
.public _InterFace_UpdateStatus
_InterFace_UpdateStatus:	.proc
.debug
	.dw '.stabn 0x44,0,316,',0,0
	.dd LM149-_InterFace_UpdateStatus
	.dw 0x0d,0x0a
.code
LM149:
	// 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,317,',0,0
	.dd LM150-_InterFace_UpdateStatus
	.dw 0x0d,0x0a
.code
LM150:
	R2=[BP]	// QImode move
	R1=[R2]	// QImode move
	CMP R1,1	// QImode compare
	JNZ L34	// QImode EQ
	PC=L30
L34:
	CMP R1,1	// QImode compare
	JNB L35	// QImode LTU
	PC=L29
L35:
	CMP R1,2	// QImode compare
	JNZ L36	// QImode EQ
	PC=L31
L36:
	pc=L32	// Indirect jump
L29:
.debug
	.dw '.stabn 0x44,0,320,',0,0
	.dd LM151-_InterFace_UpdateStatus
	.dw 0x0d,0x0a
.code
LM151:
	R1=_encoding_28	// QImode move
	[SP--]=R1	// QImode move
	R1=52	// QImode move
	[SP--]=R1	// QImode move
	R1=104	// QImode move
	[SP--]=R1	// QImode move
	call _LCD501_Bitmap	// call without return value
	SP=SP+3
.debug
	.dw '.stabn 0x44,0,321,',0,0
	.dd LM152-_InterFace_UpdateStatus
	.dw 0x0d,0x0a
.code
LM152:
	R1=_encoding_0e	// QImode move
	[SP--]=R1	// QImode move
	R1=52	// QImode move
	[SP--]=R1	// QImode move
	R1=116	// QImode move
	[SP--]=R1	// QImode move
	call _LCD501_Bitmap	// call without return value
	SP=SP+3
.debug
	.dw '.stabn 0x44,0,322,',0,0
	.dd LM153-_InterFace_UpdateStatus
	.dw 0x0d,0x0a
.code
LM153:
	call _InterFace_UpdateIcon	// call without return value
.debug
	.dw '.stabn 0x44,0,323,',0,0
	.dd LM154-_InterFace_UpdateStatus
	.dw 0x0d,0x0a
.code
LM154:
	pc=L28	// Indirect jump
L30:
.debug
	.dw '.stabn 0x44,0,325,',0,0
	.dd LM155-_InterFace_UpdateStatus
	.dw 0x0d,0x0a
.code
LM155:
	R1=_encoding_26	// QImode move
	[SP--]=R1	// QImode move
	R1=52	// QImode move
	[SP--]=R1	// QImode move
	R1=104	// QImode move
	[SP--]=R1	// QImode move
	call _LCD501_Bitmap	// call without return value
	SP=SP+3
.debug
	.dw '.stabn 0x44,0,326,',0,0
	.dd LM156-_InterFace_UpdateStatus
	.dw 0x0d,0x0a
.code
LM156:
	R1=_encoding_27	// QImode move
	[SP--]=R1	// QImode move
	R1=52	// QImode move
	[SP--]=R1	// QImode move
	R1=116	// QImode move
	[SP--]=R1	// QImode move
	call _LCD501_Bitmap	// call without return value
	SP=SP+3
.debug
	.dw '.stabn 0x44,0,327,',0,0
	.dd LM157-_InterFace_UpdateStatus
	.dw 0x0d,0x0a
.code
LM157:
	call _InterFace_RevIcon	// call without return value
.debug
	.dw '.stabn 0x44,0,328,',0,0
	.dd LM158-_InterFace_UpdateStatus
	.dw 0x0d,0x0a
.code
LM158:
	pc=L28	// Indirect jump
L31:
.debug
	.dw '.stabn 0x44,0,330,',0,0
	.dd LM159-_InterFace_UpdateStatus
	.dw 0x0d,0x0a
.code
LM159:
	R1=_encoding_24	// QImode move
	[SP--]=R1	// QImode move
	R1=52	// QImode move
	[SP--]=R1	// QImode move
	R1=104	// QImode move
	[SP--]=R1	// QImode move
	call _LCD501_Bitmap	// call without return value
	SP=SP+3
.debug
	.dw '.stabn 0x44,0,331,',0,0
	.dd LM160-_InterFace_UpdateStatus
	.dw 0x0d,0x0a
.code
LM160:
	R1=_encoding_25	// QImode move
	[SP--]=R1	// QImode move
	R1=52	// QImode move
	[SP--]=R1	// QImode move
	R1=116	// QImode move
	[SP--]=R1	// QImode move
	call _LCD501_Bitmap	// call without return value
	SP=SP+3
.debug
	.dw '.stabn 0x44,0,332,',0,0
	.dd LM161-_InterFace_UpdateStatus
	.dw 0x0d,0x0a
.code
LM161:
	pc=L28	// Indirect jump
L32:
.debug
	.dw '.stabn 0x44,0,334,',0,0
	.dd LM162-_InterFace_UpdateStatus
	.dw 0x0d,0x0a
.code
LM162:
	pc=L28	// Indirect jump
L28:
.debug
	.dw '.stabn 0x44,0,336,',0,0
	.dd LM163-_InterFace_UpdateStatus
	.dw 0x0d,0x0a
.code
LM163:
.debug
	.dw '.stabn 0x44,0,336,',0,0
	.dd LM164-_InterFace_UpdateStatus
	.dw 0x0d,0x0a
.code
LM164:
L27:

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

.debug
	.dw '.stabs "Mode:p22",160,0,0,4',0x0d,0x0a
.CODE
.debug
	.dw '.stabf ',0,0
	.dd LME18-_InterFace_UpdateStatus
	.dw 0x0d,0x0a
.code
LME18:
.debug
	.dw '.stabs "DateSettingMap:G28=ar1;0;4;25",32,0,0,',0,0,offset _DateSettingMap,seg _DateSettingMap,0x0d,0x0a
.CODE
.public _DateSettingMap
.iram
_DateSettingMap:
	.dw 0
	.dw 0
	.dw 4
	.dw _DateTemp
	.dw 0
	.dw 2099
	.dw 30
	.dw 0
	.dw 2
	.dw _DateTemp+1
	.dw 1
	.dw 12
	.dw 48
	.dw 0
	.dw 2
	.dw _DateTemp+2
	.dw 1
	.dw 31
	.dw 66
	.dw 0
	.dw 2
	.dw _DateTemp+3
	.dw 0
	.dw 23
	.dw 84
	.dw 0
	.dw 2
	.dw _DateTemp+4
	.dw 0
	.dw 59
.code
.debug
	.dw '.stabs "InterFace_SystemSet:F19",36,0,0,',0,0,offset _InterFace_SystemSet,seg _InterFace_SystemSet,0x0d,0x0a
.CODE
.public _InterFace_SystemSet
_InterFace_SystemSet:	.proc
.debug
	.dw '.stabn 0x44,0,354,',0,0
	.dd LM165-_InterFace_SystemSet
	.dw 0x0d,0x0a
.code
LM165:
	// total=7, vars=7
	// frame_pointer_needed: 1
	push bp to [sp]
	sp-=7
	bp=sp+1

	R1=BP+10
	[bp+6]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,355,',0,0
	.dd LM166-_InterFace_SystemSet
	.dw 0x0d,0x0a
.code
LM166:
	R1=_DateTemp	// QImode move
	[SP--]=R1	// QImode move
	call _Cal_GetTime	// call without return value
	SP=SP+1
.debug
	.dw '.stabn 0x44,0,356,',0,0
	.dd LM167-_InterFace_SystemSet
	.dw 0x0d,0x0a
.code
LM167:
	R1=58	// QImode move
	[SP--]=R1	// QImode move
	R1=0	// QImode move
	[SP--]=R1	// QImode move
	R1=78	// QImode move
	[SP--]=R1	// QImode move
	call _LCD501_PutChar	// call without return value
	SP=SP+3
.debug
	.dw '.stabn 0x44,0,357,',0,0
	.dd LM168-_InterFace_SystemSet
	.dw 0x0d,0x0a
.code
LM168:
	R1=_DateSettingMap	// QImode move
	[SP--]=R1	// QImode move
	R1=5	// QImode move
	[SP--]=R1	// QImode move
	call _InterFace_GUISetting	// call without return value
	SP=SP+2
.debug
	.dw '.stabn 0x44,0,358,',0,0
	.dd LM169-_InterFace_SystemSet
	.dw 0x0d,0x0a
.code
LM169:
	R1=_DateTemp	// QImode move
	R2=BP	// QImode move
	R4=R1	// QImode move
	R3=[R4]	// QImode move
	R4=R2	// QImode move
	[R4]=R3	// QImode move
	R2=R2+1
	R1=R1+1
	R4=R1	// QImode move
	R3=[R4]	// QImode move
	R4=R2	// QImode move
	[R4]=R3	// QImode move
	R2=R2+1
	R1=R1+1
	R4=R1	// QImode move
	R3=[R4]	// QImode move
	R4=R2	// QImode move
	[R4]=R3	// QImode move
	R2=R2+1
	R1=R1+1
	R4=R1	// QImode move
	R3=[R4]	// QImode move
	R4=R2	// QImode move
	[R4]=R3	// QImode move
	R2=R2+1
	R1=R1+1
	R4=R1	// QImode move
	R3=[R4]	// QImode move
	R4=R2	// QImode move
	[R4]=R3	// QImode move
	R2=R2+1
	R1=R1+1
	R4=R1	// QImode move
	R3=[R4]	// QImode move
	R4=R2	// QImode move
	[R4]=R3	// QImode move
	R2=R2+1
	R1=R1+1
	[SP--]=BP	// QImode move
	call _Cal_SetSysTime	// call without return value
	SP=SP+1
.debug
	.dw '.stabn 0x44,0,359,',0,0
	.dd LM170-_InterFace_SystemSet
	.dw 0x0d,0x0a
.code
LM170:
	call _InterFace_UpdateDate	// call without return value
.debug
	.dw '.stabn 0x44,0,360,',0,0
	.dd LM171-_InterFace_SystemSet
	.dw 0x0d,0x0a
.code
LM171:
	call _InterFace_UpdateTime	// call without return value
.debug
	.dw '.stabn 0x44,0,361,',0,0
	.dd LM172-_InterFace_SystemSet
	.dw 0x0d,0x0a
.code
LM172:
.debug
	.dw '.stabn 0x44,0,361,',0,0

⌨️ 快捷键说明

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