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

📄 speed.asm

📁 此程序为出租车计价器
💻 ASM
字号:
// GCC for SUNPLUS u'nSP version 1.0.10-10
// Command: C:\PROGRA~1\Sunplus\UNSPID~1\unSPIDE\cc1.exe C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\ccITaaaa.i -quiet -dumpbase Speed.c -gstabs -Wall -o .\Debug/Speed.asm
// gcc2_compiled.:

.stabs "D:\\凌阳\\毕业设计2006-1-4\\毕业设计大礼包更新20050606\\出租车计价器礼包\\参考源代码\\Taxi\\Taxi/", 0x64, 0, 3, Ltext0
.stabs "D:/羂\350裓\364/盶\317襖\265蒤\350糪\3062006-1-4/盶\317襖\265蒤\350糪\306碶\363繺\361癨\374竆\374衆\30220050606/砛\366譢\342砛\265糪\306糪\333芢\367繺\361癨\374/瞈\316縗\274診\264碶\372耚\353/Taxi/Taxi/Speed.c", 0x64, 0, 3, Ltext0
.code
Ltext0:
.debug
	.dw '.stabs "int:t1=r1;-32768;32767;",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "char:t2=r2;0;127;",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "long int:t3=r3;-2147483648;2147483647;",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "unsigned int:t4=r4;0;65535;",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "long unsigned int:t5=r5;0;4294967295;",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "long long int:t6=r6;-2147483648;2147483647;",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "long long unsigned int:t7=r7;0;4294967295;",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "short int:t8=r8;-32768;32767;",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "short unsigned int:t9=r9;0;65535;",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "signed char:t10=r10;-32768;32767;",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "unsigned char:t11=r11;0;65535;",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "float:t12=r1;2;0;",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "double:t13=r1;2;0;",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "long double:t14=r1;2;0;",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "complex int:t15=s2real:1,0,16;imag:1,16,16;;",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "complex float:t16=r16;2;0;",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "complex double:t17=r17;2;0;",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "complex long double:t18=r18;2;0;",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "void:t19=19",128,0,0,0',0x0d,0x0a
.CODE
.code
.debug
	.dw '.stabs "Speed_Init:F19",36,0,0,',0,0,offset _Speed_Init,seg _Speed_Init,0x0d,0x0a
.CODE
.public _Speed_Init
_Speed_Init:	.proc
.debug
	.dw '.stabn 0x44,0,21,',0,0
	.dd LM1-_Speed_Init
	.dw 0x0d,0x0a
.code
LM1:
	// total=0, vars=0
	// frame_pointer_needed: 1
	push bp to [sp]
	bp=sp+1

	R1=BP+3
.debug
	.dw '.stabn 0x44,0,22,',0,0
	.dd LM2-_Speed_Init
	.dw 0x0d,0x0a
.code
LM2:
	R2=0	// QImode move
	[_uiCurSpeed]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,23,',0,0
	.dd LM3-_Speed_Init
	.dw 0x0d,0x0a
.code
LM3:
	R2=[28679]	// QImode move
	R3=R2|512
	[28679]=R3	// QImode move
.debug
	.dw '.stabn 0x44,0,24,',0,0
	.dd LM4-_Speed_Init
	.dw 0x0d,0x0a
.code
LM4:
	R2=[28680]	// QImode move
	R3=R2|512
	[28680]=R3	// QImode move
.debug
	.dw '.stabn 0x44,0,25,',0,0
	.dd LM5-_Speed_Init
	.dw 0x0d,0x0a
.code
LM5:
	R2=[28678]	// QImode move
	R3=R2&(-513)
	[28678]=R3	// QImode move
.debug
	.dw '.stabn 0x44,0,26,',0,0
	.dd LM6-_Speed_Init
	.dw 0x0d,0x0a
.code
LM6:
	R2=6	// QImode move
	[28685]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,27,',0,0
	.dd LM7-_Speed_Init
	.dw 0x0d,0x0a
.code
LM7:
.debug
	.dw '.stabn 0x44,0,27,',0,0
	.dd LM8-_Speed_Init
	.dw 0x0d,0x0a
.code
LM8:
L2:

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

.debug
	.dw '.stabf ',0,0
	.dd LME1-_Speed_Init
	.dw 0x0d,0x0a
.code
LME1:
.code
.debug
	.dw '.stabs "Speed_Start:F19",36,0,0,',0,0,offset _Speed_Start,seg _Speed_Start,0x0d,0x0a
.CODE
.public _Speed_Start
_Speed_Start:	.proc
.debug
	.dw '.stabn 0x44,0,36,',0,0
	.dd LM9-_Speed_Start
	.dw 0x0d,0x0a
.code
LM9:
	// total=0, vars=0
	// frame_pointer_needed: 1
	push bp to [sp]
	bp=sp+1

	R1=BP+3
.debug
	.dw '.stabn 0x44,0,37,',0,0
	.dd LM10-_Speed_Start
	.dw 0x0d,0x0a
.code
LM10:
	R2=(-48)	// QImode move
	[_uiCurSpeed]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,39,',0,0
	.dd LM11-_Speed_Start
	.dw 0x0d,0x0a
.code
LM11:
	R2=[_uiCurSpeed]	// QImode move
	[28684]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,40,',0,0
	.dd LM12-_Speed_Start
	.dw 0x0d,0x0a
.code
LM12:
	R2=513	// QImode move
	[28685]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,41,',0,0
	.dd LM13-_Speed_Start
	.dw 0x0d,0x0a
.code
LM13:
.debug
	.dw '.stabn 0x44,0,41,',0,0
	.dd LM14-_Speed_Start
	.dw 0x0d,0x0a
.code
LM14:
L3:

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

.debug
	.dw '.stabf ',0,0
	.dd LME2-_Speed_Start
	.dw 0x0d,0x0a
.code
LME2:
.code
.debug
	.dw '.stabs "Speed_Stop:F19",36,0,0,',0,0,offset _Speed_Stop,seg _Speed_Stop,0x0d,0x0a
.CODE
.public _Speed_Stop
_Speed_Stop:	.proc
.debug
	.dw '.stabn 0x44,0,50,',0,0
	.dd LM15-_Speed_Stop
	.dw 0x0d,0x0a
.code
LM15:
	// total=0, vars=0
	// frame_pointer_needed: 1
	push bp to [sp]
	bp=sp+1

	R1=BP+3
.debug
	.dw '.stabn 0x44,0,51,',0,0
	.dd LM16-_Speed_Stop
	.dw 0x0d,0x0a
.code
LM16:
	R2=6	// QImode move
	[28685]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,52,',0,0
	.dd LM17-_Speed_Stop
	.dw 0x0d,0x0a
.code
LM17:
.debug
	.dw '.stabn 0x44,0,52,',0,0
	.dd LM18-_Speed_Stop
	.dw 0x0d,0x0a
.code
LM18:
L4:

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

.debug
	.dw '.stabf ',0,0
	.dd LME3-_Speed_Stop
	.dw 0x0d,0x0a
.code
LME3:
.code
.debug
	.dw '.stabs "Speed_Up:F19",36,0,0,',0,0,offset _Speed_Up,seg _Speed_Up,0x0d,0x0a
.CODE
.public _Speed_Up
_Speed_Up:	.proc
.debug
	.dw '.stabn 0x44,0,61,',0,0
	.dd LM19-_Speed_Up
	.dw 0x0d,0x0a
.code
LM19:
	// total=0, vars=0
	// frame_pointer_needed: 1
	push bp to [sp]
	bp=sp+1

	R1=BP+3
.debug
	.dw '.stabn 0x44,0,62,',0,0
	.dd LM20-_Speed_Up
	.dw 0x0d,0x0a
.code
LM20:
	R2=[_uiCurSpeed]	// QImode move
	R4=R1	// QImode move
	R3=[R4]	// QImode move
	[_uiCurSpeed]=R2+R3
.debug
	.dw '.stabn 0x44,0,63,',0,0
	.dd LM21-_Speed_Up
	.dw 0x0d,0x0a
.code
LM21:
	R2=[_uiCurSpeed]	// QImode move
	CMP R2,(-17)	// QImode compare
	JA L7	// QImode LEU
	PC=L6
L7:
.debug
	.dw '.stabn 0x44,0,64,',0,0
	.dd LM22-_Speed_Up
	.dw 0x0d,0x0a
.code
LM22:
	R2=(-16)	// QImode move
	[_uiCurSpeed]=R2	// QImode move
L6:
.debug
	.dw '.stabn 0x44,0,66,',0,0
	.dd LM23-_Speed_Up
	.dw 0x0d,0x0a
.code
LM23:
	R2=[_uiCurSpeed]	// QImode move
	[28684]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,67,',0,0
	.dd LM24-_Speed_Up
	.dw 0x0d,0x0a
.code
LM24:
	R2=513	// QImode move
	[28685]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,68,',0,0
	.dd LM25-_Speed_Up
	.dw 0x0d,0x0a
.code
LM25:
.debug
	.dw '.stabn 0x44,0,68,',0,0
	.dd LM26-_Speed_Up
	.dw 0x0d,0x0a
.code
LM26:
L5:

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

.debug
	.dw '.stabs "uiStep:p1",160,0,0,3',0x0d,0x0a
.CODE
.debug
	.dw '.stabf ',0,0
	.dd LME4-_Speed_Up
	.dw 0x0d,0x0a
.code
LME4:
.code
.debug
	.dw '.stabs "Speed_Down:F19",36,0,0,',0,0,offset _Speed_Down,seg _Speed_Down,0x0d,0x0a
.CODE
.public _Speed_Down
_Speed_Down:	.proc
.debug
	.dw '.stabn 0x44,0,77,',0,0
	.dd LM27-_Speed_Down
	.dw 0x0d,0x0a
.code
LM27:
	// total=0, vars=0
	// frame_pointer_needed: 1
	push bp to [sp]
	bp=sp+1

	R1=BP+3
.debug
	.dw '.stabn 0x44,0,78,',0,0
	.dd LM28-_Speed_Down
	.dw 0x0d,0x0a
.code
LM28:
	R2=[_uiCurSpeed]	// QImode move
	R4=R1	// QImode move
	R3=[R4]	// QImode move
	[_uiCurSpeed]=R2-R3
.debug
	.dw '.stabn 0x44,0,79,',0,0
	.dd LM29-_Speed_Down
	.dw 0x0d,0x0a
.code
LM29:
	R2=[_uiCurSpeed]	// QImode move
	CMP R2,(-256)	// QImode compare
	JNA L12	// QImode GTU
	PC=L9
L12:
.debug
	.dw '.stabn 0x44,0,80,',0,0
	.dd LM30-_Speed_Down
	.dw 0x0d,0x0a
.code
LM30:
	R2=(-256)	// QImode move
	[_uiCurSpeed]=R2	// QImode move
L9:
.debug
	.dw '.stabn 0x44,0,81,',0,0
	.dd LM31-_Speed_Down
	.dw 0x0d,0x0a
.code
LM31:
	R2=[_uiCurSpeed]	// QImode move
	CMP R2,0	// QImode test
	JZ L13	// QImode NE
	PC=L10
L13:
.debug
	.dw '.stabn 0x44,0,83,',0,0
	.dd LM32-_Speed_Down
	.dw 0x0d,0x0a
.code
LM32:
	R2=6	// QImode move
	[28685]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,84,',0,0
	.dd LM33-_Speed_Down
	.dw 0x0d,0x0a
.code
LM33:
	pc=L11	// Indirect jump
L10:
.debug
	.dw '.stabn 0x44,0,88,',0,0
	.dd LM34-_Speed_Down
	.dw 0x0d,0x0a
.code
LM34:
	R2=[_uiCurSpeed]	// QImode move
	[28684]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,89,',0,0
	.dd LM35-_Speed_Down
	.dw 0x0d,0x0a
.code
LM35:
	R2=513	// QImode move
	[28685]=R2	// QImode move
L11:
.debug
	.dw '.stabn 0x44,0,91,',0,0
	.dd LM36-_Speed_Down
	.dw 0x0d,0x0a
.code
LM36:
.debug
	.dw '.stabn 0x44,0,91,',0,0
	.dd LM37-_Speed_Down
	.dw 0x0d,0x0a
.code
LM37:
L8:

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

.debug
	.dw '.stabs "uiStep:p1",160,0,0,3',0x0d,0x0a
.CODE
.debug
	.dw '.stabf ',0,0
	.dd LME5-_Speed_Down
	.dw 0x0d,0x0a
.code
LME5:
.code
.debug
	.dw '.stabs "Speed_GetSpeed:F4",36,0,0,',0,0,offset _Speed_GetSpeed,seg _Speed_GetSpeed,0x0d,0x0a
.CODE
.public _Speed_GetSpeed
_Speed_GetSpeed:	.proc
.debug
	.dw '.stabn 0x44,0,100,',0,0
	.dd LM38-_Speed_GetSpeed
	.dw 0x0d,0x0a
.code
LM38:
	// total=0, vars=0
	// frame_pointer_needed: 1
	push bp to [sp]
	bp=sp+1

	R2=BP+3
.debug
	.dw '.stabn 0x44,0,101,',0,0
	.dd LM39-_Speed_GetSpeed
	.dw 0x0d,0x0a
.code
LM39:
	R3=[_uiCurSpeed]	// QImode move
	R1=R3	// QImode move
	pc=L14	// Indirect jump
.debug
	.dw '.stabn 0x44,0,102,',0,0
	.dd LM40-_Speed_GetSpeed
	.dw 0x0d,0x0a
.code
LM40:
.debug
	.dw '.stabn 0x44,0,102,',0,0
	.dd LM41-_Speed_GetSpeed
	.dw 0x0d,0x0a
.code
LM41:
L14:

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

.debug
	.dw '.stabf ',0,0
	.dd LME6-_Speed_GetSpeed
	.dw 0x0d,0x0a
.code
LME6:
.debug
	.dw '.stabs "uiCurSpeed:G4",32,0,0,',0,0,offset _uiCurSpeed,seg _uiCurSpeed,0x0d,0x0a
.CODE
.ram
.public _uiCurSpeed
_uiCurSpeed:
	.dw 0
	.end

⌨️ 快捷键说明

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