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

📄 interface.asm

📁 此程序为出租车计价器
💻 ASM
📖 第 1 页 / 共 5 页
字号:
	.dw '.stabs "InterFace_TimeFlash:F19",36,0,0,',0,0,offset _InterFace_TimeFlash,seg _InterFace_TimeFlash,0x0d,0x0a
.CODE
.public _InterFace_TimeFlash
_InterFace_TimeFlash:	.proc
.debug
	.dw '.stabn 0x44,0,207,',0,0
	.dd LM90-_InterFace_TimeFlash
	.dw 0x0d,0x0a
.code
LM90:
	// 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,208,',0,0
	.dd LM91-_InterFace_TimeFlash
	.dw 0x0d,0x0a
.code
LM91:
	R1=[_uiFlashFlag]	// QImode move
	CMP R1,0	// QImode test
	JNZ L21	// QImode EQ
	PC=L19
L21:
.debug
	.dw '.stabn 0x44,0,210,',0,0
	.dd LM92-_InterFace_TimeFlash
	.dw 0x0d,0x0a
.code
LM92:
	R1=3	// QImode move
	[SP--]=R1	// QImode move
	call _LCD501_SetPaintMode	// call without return value
	SP=SP+1
.debug
	.dw '.stabn 0x44,0,211,',0,0
	.dd LM93-_InterFace_TimeFlash
	.dw 0x0d,0x0a
.code
LM93:
	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,212,',0,0
	.dd LM94-_InterFace_TimeFlash
	.dw 0x0d,0x0a
.code
LM94:
	R1=0	// QImode move
	[SP--]=R1	// QImode move
	call _LCD501_SetPaintMode	// call without return value
	SP=SP+1
.debug
	.dw '.stabn 0x44,0,213,',0,0
	.dd LM95-_InterFace_TimeFlash
	.dw 0x0d,0x0a
.code
LM95:
	call _Cost_WaitOrNot	// call with return value
	CMP R1,0	// QImode test
	JNZ L22	// QImode EQ
	PC=L20
L22:
.debug
	.dw '.stabn 0x44,0,215,',0,0
	.dd LM96-_InterFace_TimeFlash
	.dw 0x0d,0x0a
.code
LM96:
	call _InterFace_UpdateWaitTime	// call without return value
L20:
.debug
	.dw '.stabn 0x44,0,217,',0,0
	.dd LM97-_InterFace_TimeFlash
	.dw 0x0d,0x0a
.code
LM97:
	R1=0	// QImode move
	[_uiFlashFlag]=R1	// QImode move
L19:
.debug
	.dw '.stabn 0x44,0,219,',0,0
	.dd LM98-_InterFace_TimeFlash
	.dw 0x0d,0x0a
.code
LM98:
.debug
	.dw '.stabn 0x44,0,219,',0,0
	.dd LM99-_InterFace_TimeFlash
	.dw 0x0d,0x0a
.code
LM99:
L18:

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

.debug
	.dw '.stabf ',0,0
	.dd LME13-_InterFace_TimeFlash
	.dw 0x0d,0x0a
.code
LME13:
.code
.debug
	.dw '.stabs "InterFace_UpdatePrice:F19",36,0,0,',0,0,offset _InterFace_UpdatePrice,seg _InterFace_UpdatePrice,0x0d,0x0a
.CODE
.public _InterFace_UpdatePrice
_InterFace_UpdatePrice:	.proc
.debug
	.dw '.stabn 0x44,0,228,',0,0
	.dd LM100-_InterFace_UpdatePrice
	.dw 0x0d,0x0a
.code
LM100:
	// 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,229,',0,0
	.dd LM101-_InterFace_UpdatePrice
	.dw 0x0d,0x0a
.code
LM101:
LBB4:
.debug
	.dw '.stabn 0x44,0,231,',0,0
	.dd LM102-_InterFace_UpdatePrice
	.dw 0x0d,0x0a
.code
LM102:
	call _Cost_GetPrice	// call with return value
	push R1,R2 to [sp]	// pushhf
	R1=12	// 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,233,',0,0
	.dd LM103-_InterFace_UpdatePrice
	.dw 0x0d,0x0a
.code
LM103:
	R1=_encoding_19	// QImode move
	[SP--]=R1	// QImode move
	R1=8	// 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,234,',0,0
	.dd LM104-_InterFace_UpdatePrice
	.dw 0x0d,0x0a
.code
LM104:
	R1=32	// QImode move
	[SP--]=R1	// QImode move
	R1=8	// 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,235,',0,0
	.dd LM105-_InterFace_UpdatePrice
	.dw 0x0d,0x0a
.code
LM105:
	R1=32	// QImode move
	[SP--]=R1	// QImode move
	R1=12	// 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,236,',0,0
	.dd LM106-_InterFace_UpdatePrice
	.dw 0x0d,0x0a
.code
LM106:
	R1=32	// QImode move
	[SP--]=R1	// QImode move
	R1=8	// 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,237,',0,0
	.dd LM107-_InterFace_UpdatePrice
	.dw 0x0d,0x0a
.code
LM107:
	R1=32	// QImode move
	[SP--]=R1	// QImode move
	R1=12	// 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,238,',0,0
	.dd LM108-_InterFace_UpdatePrice
	.dw 0x0d,0x0a
.code
LM108:
LBE4:
.debug
	.dw '.stabn 0x44,0,238,',0,0
	.dd LM109-_InterFace_UpdatePrice
	.dw 0x0d,0x0a
.code
LM109:
L23:

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

.debug
	.dw '.stabn 0xc0,0,0,',0,0
	.dd LBB4-_InterFace_UpdatePrice
	.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 LBE4-_InterFace_UpdatePrice
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabf ',0,0
	.dd LME14-_InterFace_UpdatePrice
	.dw 0x0d,0x0a
.code
LME14:
.code
.debug
	.dw '.stabs "InterFace_UpdateDistance:F19",36,0,0,',0,0,offset _InterFace_UpdateDistance,seg _InterFace_UpdateDistance,0x0d,0x0a
.CODE
.public _InterFace_UpdateDistance
_InterFace_UpdateDistance:	.proc
.debug
	.dw '.stabn 0x44,0,247,',0,0
	.dd LM110-_InterFace_UpdateDistance
	.dw 0x0d,0x0a
.code
LM110:
	// 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,248,',0,0
	.dd LM111-_InterFace_UpdateDistance
	.dw 0x0d,0x0a
.code
LM111:
LBB5:
.debug
	.dw '.stabn 0x44,0,250,',0,0
	.dd LM112-_InterFace_UpdateDistance
	.dw 0x0d,0x0a
.code
LM112:
	call _Dis_GetDistance	// call with return value
	push R1,R2 to [sp]	// pushhf
	R1=24	// 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,252,',0,0
	.dd LM113-_InterFace_UpdateDistance
	.dw 0x0d,0x0a
.code
LM113:
	R1=_encoding_09	// QImode move
	[SP--]=R1	// QImode move
	R1=20	// 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,253,',0,0
	.dd LM114-_InterFace_UpdateDistance
	.dw 0x0d,0x0a
.code
LM114:
	R1=[BP]	// QImode move
	R2=R1+12
	[BP]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,254,',0,0
	.dd LM115-_InterFace_UpdateDistance
	.dw 0x0d,0x0a
.code
LM115:
	R1=_encoding_15	// QImode move
	[SP--]=R1	// QImode move
	R1=20	// 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,255,',0,0
	.dd LM116-_InterFace_UpdateDistance
	.dw 0x0d,0x0a
.code
LM116:
	R1=[BP]	// QImode move
	R2=R1+12
	[BP]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,256,',0,0
	.dd LM117-_InterFace_UpdateDistance
	.dw 0x0d,0x0a
.code
LM117:
	R1=32	// QImode move
	[SP--]=R1	// QImode move
	R1=20	// QImode move
	[SP--]=R1	// QImode move
	R1=[BP]	// QImode move
	[SP--]=R1	// QImode move
	call _LCD501_PutChar	// call without return value
	SP=SP+3
.debug
	.dw '.stabn 0x44,0,257,',0,0
	.dd LM118-_InterFace_UpdateDistance
	.dw 0x0d,0x0a
.code
LM118:
	R1=32	// QImode move
	[SP--]=R1	// QImode move
	R1=24	// QImode move
	[SP--]=R1	// QImode move
	R1=[BP]	// QImode move
	[SP--]=R1	// QImode move
	call _LCD501_PutChar	// call without return value
	SP=SP+3
.debug
	.dw '.stabn 0x44,0,258,',0,0
	.dd LM119-_InterFace_UpdateDistance
	.dw 0x0d,0x0a
.code
LM119:
	R1=[BP]	// QImode move
	R2=R1+6
	[BP]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,259,',0,0
	.dd LM120-_InterFace_UpdateDistance
	.dw 0x0d,0x0a
.code
LM120:
	R1=32	// QImode move
	[SP--]=R1	// QImode move
	R1=20	// QImode move
	[SP--]=R1	// QImode move
	R1=[BP]	// QImode move
	[SP--]=R1	// QImode move
	call _LCD501_PutChar	// call without return value
	SP=SP+3
.debug
	.dw '.stabn 0x44,0,260,',0,0
	.dd LM121-_InterFace_UpdateDistance
	.dw 0x0d,0x0a
.code
LM121:
	R1=32	// QImode move
	[SP--]=R1	// QImode move
	R1=24	// QImode move
	[SP--]=R1	// QImode move
	R1=[BP]	// QImode move
	[SP--]=R1	// QImode move
	call _LCD501_PutChar	// call without return value
	SP=SP+3
.debug
	.dw '.stabn 0x44,0,261,',0,0
	.dd LM122-_InterFace_UpdateDistance
	.dw 0x0d,0x0a
.code
LM122:
LBE5:
.debug
	.dw '.stabn 0x44,0,261,',0,0
	.dd LM123-_InterFace_UpdateDistance
	.dw 0x0d,0x0a
.code
LM123:
L24:

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

.debug
	.dw '.stabn 0xc0,0,0,',0,0
	.dd LBB5-_InterFace_UpdateDistance
	.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 LBE5-_InterFace_UpdateDistance
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabf ',0,0
	.dd LME15-_InterFace_UpdateDistance
	.dw 0x0d,0x0a
.code
LME15:
.code
.debug
	.dw '.stabs "InterFace_UpdateWaitTime:F19",36,0,0,',0,0,offset _InterFace_UpdateWaitTime,seg _InterFace_UpdateWaitTime,0x0d,0x0a
.CODE
.public _InterFace_UpdateWaitTime
_InterFace_UpdateWaitTime:	.proc
.debug
	.dw '.stabn 0x44,0,270,',0,0
	.dd LM124-_InterFace_UpdateWaitTime
	.dw 0x0d,0x0a
.code
LM124:
	// total=10, vars=10
	// frame_pointer_needed: 1
	push bp to [sp]
	sp-=10
	bp=sp+1

	R1=BP+13
	[bp+6]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,271,',0,0
	.dd LM125-_InterFace_UpdateWaitTime
	.dw 0x0d,0x0a
.code
LM125:
LBB6:
.debug
	.dw '.stabn 0x44,0,276,',0,0
	.dd LM126-_InterFace_UpdateWaitTime
	.dw 0x0d,0x0a
.code
LM126:
	call _Cost_GetWaitTime	// call with return value
	[BP++]=R1	// [RD]=RS HImode, RD!=RS+1
	[BP--]=R2
.debug
	.dw '.stabn 0x44,0,277,',0,0
	.dd LM127-_InterFace_UpdateWaitTime
	.dw 0x0d,0x0a
.code
LM127:
	R1=BP	// QImode move
	R2=BP+2
	[bp+7]=R2	// QImode move
	R1=[BP++]	// RD=[RS] HImode, RD!=RS
	R2=[BP--]
	R3=3600	// HImode immediate to register move
	R4=0
	push R3,R4 to [sp]	// pushhi
	push R1,R2 to [sp]	// pushhi
	call __divu2	// call with return value
	SP=SP+4
	R3=R1	// QImode move
	R4=[bp+7]	// QImode move
	[R4]=R3	// QImode move
.debug
	.dw '.stabn 0x44,0,278,',0,0
	.dd LM128-_InterFace_UpdateWaitTime
	.dw 0x0d,0x0a
.code
LM128:
	R1=BP	// QImode move
	R1=BP+3
	[bp+8]=R1	// QImode move
	R1=[BP++]	// RD=[RS] HImode, RD!=RS
	R2=[BP--]
	R3=3600	// HImode immediate to register move
	R4=0
	push R3,R4 to [sp]	// pushhi
	push R1,R2 to [sp]	// pushhi
	call __modu2	// call with return value
	SP=SP+4
	R3=R1	// HImode register to register move
	R4=R2
	R1=R3	// QImode move
	R2=60	// QImode move
	[SP--]=R2	// QImode move
	[SP--]=R1	// QImode move
	call __divu1	// call with return value
	SP=SP+2
	R2=[bp+8]	// QImode move
	[R2]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,279,',0,0
	.dd LM129-_InterFace_UpdateWaitTime
	.dw 0x0d,0x0a
.code
LM129:
	R1=BP	// QImode move
	R3=BP+4
	[bp+9]=R3	// QImode move
	R1=[BP++]	// RD=[RS] HImode, RD!=RS
	R2=[BP--]
	R3=60	// HImode immediate to register move
	R4=0
	push R3,R4 to [sp]	// pushhi
	push R1,R2 to [sp]	// pushhi
	call __modu2	// call with return value
	SP=SP+4
	R3=R1	// QImode move
	R4=[bp+9]	// QImode move
	[R4]=R3	// QImode move
.debug
	.dw '.stabn 0x44,0,280,',0,0
	.dd LM130-_InterFace_UpdateWaitTime
	.dw 0x0d,0x0a
.code
LM130:
	R1=BP	// QImode move
	R2=BP+2
	R3=R2	// QImode move
	R1=[R3]	// QImode move
	[SP--]=R1	// QImode move
	R1=(-1)	// QImode move
	[SP--]=R1	// QImode move
	R1=36	// QImode move
	[SP--]=R1	// QImode move
	R1=54	// QImode move
	[SP--]=R1	// QImode move
	call _InterFace_In_DisNumber	// call with return value
	SP=SP+4
	R2=BP	// QImode move
	R3=BP+5
	R4=R3	// QImode move
	[R4]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,281,',0,0
	.dd LM131-_InterFace_UpdateWaitTime
	.dw 0x0d,0x0a
.code
LM131:
	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,282,',0,0
	.dd LM132-_InterFace_UpdateWaitTime
	.dw 0x0d,0x0a
.code
LM132:
	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,283,',0,0
	.dd LM133-_InterFace_UpdateWaitTime
	.dw 0x0d,0x0a
.code
LM133:
	R1=BP	// QImode move
	R2=BP+3
	R3=R2	// QImode move
	R1=[R3]	// QImode move
	[SP--]=R1	// QImode move
	R1=2	// QImode move
	[SP--]=R1	// QImode move

⌨️ 快捷键说明

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