📄 cal.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\cc8oaaaa.i -quiet -dumpbase Cal.c -gstabs -Wall -o .\Debug/Cal.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/Cal.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
.debug
.dw '.stabs "_DATE:T20=s6Year:4,0,16;Month:4,16,16;\\",128,0,0,0',0x0d,0x0a
.DW '.stabs "Day:4,32,16;Hour:4,48,16;Minute:4,64,16;\\",128,0,0,0',0x0d,0x0a
.DW '.stabs "Second:4,80,16;;",128,0,0,0',0x0d,0x0a
.CODE
.debug
.dw '.stabs "Date:t21=20",128,0,0,0',0x0d,0x0a
.CODE
.debug
.dw '.stabs "uiDayofMonth:G22=ar1;0;-1;4",32,0,0,',0,0,offset _uiDayofMonth,seg _uiDayofMonth,0x0d,0x0a
.CODE
.public _uiDayofMonth
.text
_uiDayofMonth:
.dw 0
.dw 31
.dw 28
.dw 31
.dw 30
.dw 31
.dw 30
.dw 31
.dw 31
.dw 30
.dw 31
.dw 30
.dw 31
.code
.debug
.dw '.stabs "Cal_Init:F19",36,0,0,',0,0,offset _Cal_Init,seg _Cal_Init,0x0d,0x0a
.CODE
.public _Cal_Init
_Cal_Init: .proc
.debug
.dw '.stabn 0x44,0,26,',0,0
.dd LM1-_Cal_Init
.dw 0x0d,0x0a
.code
LM1:
// 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,27,',0,0
.dd LM2-_Cal_Init
.dw 0x0d,0x0a
.code
LM2:
R1=[_C_Year] // QImode move
[_sDate]=R1 // QImode move
.debug
.dw '.stabn 0x44,0,28,',0,0
.dd LM3-_Cal_Init
.dw 0x0d,0x0a
.code
LM3:
R1=[_C_Month] // QImode move
[_sDate+1]=R1 // QImode move
.debug
.dw '.stabn 0x44,0,29,',0,0
.dd LM4-_Cal_Init
.dw 0x0d,0x0a
.code
LM4:
R1=[_C_Day] // QImode move
[_sDate+2]=R1 // QImode move
.debug
.dw '.stabn 0x44,0,30,',0,0
.dd LM5-_Cal_Init
.dw 0x0d,0x0a
.code
LM5:
R1=[_C_Hour] // QImode move
[_sDate+3]=R1 // QImode move
.debug
.dw '.stabn 0x44,0,31,',0,0
.dd LM6-_Cal_Init
.dw 0x0d,0x0a
.code
LM6:
R1=[_C_Minute] // QImode move
[_sDate+4]=R1 // QImode move
.debug
.dw '.stabn 0x44,0,32,',0,0
.dd LM7-_Cal_Init
.dw 0x0d,0x0a
.code
LM7:
R1=[_C_Second] // QImode move
[_sDate+5]=R1 // QImode move
.debug
.dw '.stabn 0x44,0,33,',0,0
.dd LM8-_Cal_Init
.dw 0x0d,0x0a
.code
LM8:
R1=1 // QImode move
[_uiHourChanged]=R1 // QImode move
.debug
.dw '.stabn 0x44,0,34,',0,0
.dd LM9-_Cal_Init
.dw 0x0d,0x0a
.code
LM9:
R1=1 // QImode move
[_uiMinuteChanged]=R1 // QImode move
.debug
.dw '.stabn 0x44,0,35,',0,0
.dd LM10-_Cal_Init
.dw 0x0d,0x0a
.code
LM10:
R1=1 // QImode move
[_uiDateChanged]=R1 // QImode move
.debug
.dw '.stabn 0x44,0,36,',0,0
.dd LM11-_Cal_Init
.dw 0x0d,0x0a
.code
LM11:
R1=[_sDate] // QImode move
[SP--]=R1 // QImode move
R1=[_sDate+1] // QImode move
[SP--]=R1 // QImode move
call _Cal_In_GetDayofMonth // call with return value
SP=SP+2
[_uiDayofCurMonth]=R1 // QImode move
.debug
.dw '.stabn 0x44,0,37,',0,0
.dd LM12-_Cal_Init
.dw 0x0d,0x0a
.code
LM12:
.debug
.dw '.stabn 0x44,0,37,',0,0
.dd LM13-_Cal_Init
.dw 0x0d,0x0a
.code
LM13:
L2:
sp+=1
pop bp from [sp]
retf
.endp // end of Cal_Init
.debug
.dw '.stabf ',0,0
.dd LME1-_Cal_Init
.dw 0x0d,0x0a
.code
LME1:
.code
.debug
.dw '.stabs "Cal_GetYear:F4",36,0,0,',0,0,offset _Cal_GetYear,seg _Cal_GetYear,0x0d,0x0a
.CODE
.public _Cal_GetYear
_Cal_GetYear: .proc
.debug
.dw '.stabn 0x44,0,46,',0,0
.dd LM14-_Cal_GetYear
.dw 0x0d,0x0a
.code
LM14:
// total=0, vars=0
// frame_pointer_needed: 1
push bp to [sp]
bp=sp+1
R2=BP+3
.debug
.dw '.stabn 0x44,0,47,',0,0
.dd LM15-_Cal_GetYear
.dw 0x0d,0x0a
.code
LM15:
R3=[_sDate] // QImode move
R1=R3 // QImode move
pc=L3 // Indirect jump
.debug
.dw '.stabn 0x44,0,48,',0,0
.dd LM16-_Cal_GetYear
.dw 0x0d,0x0a
.code
LM16:
.debug
.dw '.stabn 0x44,0,48,',0,0
.dd LM17-_Cal_GetYear
.dw 0x0d,0x0a
.code
LM17:
L3:
pop bp from [sp]
retf
.endp // end of Cal_GetYear
.debug
.dw '.stabf ',0,0
.dd LME2-_Cal_GetYear
.dw 0x0d,0x0a
.code
LME2:
.code
.debug
.dw '.stabs "Cal_GetMonth:F4",36,0,0,',0,0,offset _Cal_GetMonth,seg _Cal_GetMonth,0x0d,0x0a
.CODE
.public _Cal_GetMonth
_Cal_GetMonth: .proc
.debug
.dw '.stabn 0x44,0,57,',0,0
.dd LM18-_Cal_GetMonth
.dw 0x0d,0x0a
.code
LM18:
// total=0, vars=0
// frame_pointer_needed: 1
push bp to [sp]
bp=sp+1
R2=BP+3
.debug
.dw '.stabn 0x44,0,58,',0,0
.dd LM19-_Cal_GetMonth
.dw 0x0d,0x0a
.code
LM19:
R3=[_sDate+1] // QImode move
R1=R3 // QImode move
pc=L4 // Indirect jump
.debug
.dw '.stabn 0x44,0,59,',0,0
.dd LM20-_Cal_GetMonth
.dw 0x0d,0x0a
.code
LM20:
.debug
.dw '.stabn 0x44,0,59,',0,0
.dd LM21-_Cal_GetMonth
.dw 0x0d,0x0a
.code
LM21:
L4:
pop bp from [sp]
retf
.endp // end of Cal_GetMonth
.debug
.dw '.stabf ',0,0
.dd LME3-_Cal_GetMonth
.dw 0x0d,0x0a
.code
LME3:
.code
.debug
.dw '.stabs "Cal_GetDay:F4",36,0,0,',0,0,offset _Cal_GetDay,seg _Cal_GetDay,0x0d,0x0a
.CODE
.public _Cal_GetDay
_Cal_GetDay: .proc
.debug
.dw '.stabn 0x44,0,68,',0,0
.dd LM22-_Cal_GetDay
.dw 0x0d,0x0a
.code
LM22:
// total=0, vars=0
// frame_pointer_needed: 1
push bp to [sp]
bp=sp+1
R2=BP+3
.debug
.dw '.stabn 0x44,0,69,',0,0
.dd LM23-_Cal_GetDay
.dw 0x0d,0x0a
.code
LM23:
R3=[_sDate+2] // QImode move
R1=R3 // QImode move
pc=L5 // Indirect jump
.debug
.dw '.stabn 0x44,0,70,',0,0
.dd LM24-_Cal_GetDay
.dw 0x0d,0x0a
.code
LM24:
.debug
.dw '.stabn 0x44,0,70,',0,0
.dd LM25-_Cal_GetDay
.dw 0x0d,0x0a
.code
LM25:
L5:
pop bp from [sp]
retf
.endp // end of Cal_GetDay
.debug
.dw '.stabf ',0,0
.dd LME4-_Cal_GetDay
.dw 0x0d,0x0a
.code
LME4:
.code
.debug
.dw '.stabs "Cal_GetHour:F4",36,0,0,',0,0,offset _Cal_GetHour,seg _Cal_GetHour,0x0d,0x0a
.CODE
.public _Cal_GetHour
_Cal_GetHour: .proc
.debug
.dw '.stabn 0x44,0,79,',0,0
.dd LM26-_Cal_GetHour
.dw 0x0d,0x0a
.code
LM26:
// total=0, vars=0
// frame_pointer_needed: 1
push bp to [sp]
bp=sp+1
R2=BP+3
.debug
.dw '.stabn 0x44,0,80,',0,0
.dd LM27-_Cal_GetHour
.dw 0x0d,0x0a
.code
LM27:
R3=[_sDate+3] // QImode move
R1=R3 // QImode move
pc=L6 // Indirect jump
.debug
.dw '.stabn 0x44,0,81,',0,0
.dd LM28-_Cal_GetHour
.dw 0x0d,0x0a
.code
LM28:
.debug
.dw '.stabn 0x44,0,81,',0,0
.dd LM29-_Cal_GetHour
.dw 0x0d,0x0a
.code
LM29:
L6:
pop bp from [sp]
retf
.endp // end of Cal_GetHour
.debug
.dw '.stabf ',0,0
.dd LME5-_Cal_GetHour
.dw 0x0d,0x0a
.code
LME5:
.code
.debug
.dw '.stabs "Cal_GetMinute:F4",36,0,0,',0,0,offset _Cal_GetMinute,seg _Cal_GetMinute,0x0d,0x0a
.CODE
.public _Cal_GetMinute
_Cal_GetMinute: .proc
.debug
.dw '.stabn 0x44,0,90,',0,0
.dd LM30-_Cal_GetMinute
.dw 0x0d,0x0a
.code
LM30:
// total=0, vars=0
// frame_pointer_needed: 1
push bp to [sp]
bp=sp+1
R2=BP+3
.debug
.dw '.stabn 0x44,0,91,',0,0
.dd LM31-_Cal_GetMinute
.dw 0x0d,0x0a
.code
LM31:
R3=[_sDate+4] // QImode move
R1=R3 // QImode move
pc=L7 // Indirect jump
.debug
.dw '.stabn 0x44,0,92,',0,0
.dd LM32-_Cal_GetMinute
.dw 0x0d,0x0a
.code
LM32:
.debug
.dw '.stabn 0x44,0,92,',0,0
.dd LM33-_Cal_GetMinute
.dw 0x0d,0x0a
.code
LM33:
L7:
pop bp from [sp]
retf
.endp // end of Cal_GetMinute
.debug
.dw '.stabf ',0,0
.dd LME6-_Cal_GetMinute
.dw 0x0d,0x0a
.code
LME6:
.code
.debug
.dw '.stabs "Cal_GetSecond:F4",36,0,0,',0,0,offset _Cal_GetSecond,seg _Cal_GetSecond,0x0d,0x0a
.CODE
.public _Cal_GetSecond
_Cal_GetSecond: .proc
.debug
.dw '.stabn 0x44,0,101,',0,0
.dd LM34-_Cal_GetSecond
.dw 0x0d,0x0a
.code
LM34:
// total=0, vars=0
// frame_pointer_needed: 1
push bp to [sp]
bp=sp+1
R2=BP+3
.debug
.dw '.stabn 0x44,0,102,',0,0
.dd LM35-_Cal_GetSecond
.dw 0x0d,0x0a
.code
LM35:
R3=[_sDate+5] // QImode move
R1=R3 // QImode move
pc=L8 // Indirect jump
.debug
.dw '.stabn 0x44,0,103,',0,0
.dd LM36-_Cal_GetSecond
.dw 0x0d,0x0a
.code
LM36:
.debug
.dw '.stabn 0x44,0,103,',0,0
.dd LM37-_Cal_GetSecond
.dw 0x0d,0x0a
.code
LM37:
L8:
pop bp from [sp]
retf
.endp // end of Cal_GetSecond
.debug
.dw '.stabf ',0,0
.dd LME7-_Cal_GetSecond
.dw 0x0d,0x0a
.code
LME7:
.code
.debug
.dw '.stabs "Cal_GetTime:F21",36,0,0,',0,0,offset _Cal_GetTime,seg _Cal_GetTime,0x0d,0x0a
.CODE
.public _Cal_GetTime
_Cal_GetTime: .proc
.debug
.dw '.stabn 0x44,0,112,',0,0
.dd LM38-_Cal_GetTime
.dw 0x0d,0x0a
.code
LM38:
// total=8, vars=8
// frame_pointer_needed: 1
push bp to [sp]
sp-=8
bp=sp+1
R1=BP+11
[bp+6]=R1 // QImode move
R2=[bp+6] // QImode move
R2=[R2] // QImode move
[bp+7]=R2 // QImode move
.debug
.dw '.stabn 0x44,0,113,',0,0
.dd LM39-_Cal_GetTime
.dw 0x0d,0x0a
.code
LM39:
R3=_sDate // QImode move
R4=[bp+7] // QImode move
R1=R3 // QImode move
R1=[R1] // QImode move
[BP]=R1 // QImode move
R2=[BP] // QImode move
R1=R4 // QImode move
[R1]=R2 // QImode move
R4=R4+1
R3=R3+1
R2=R3 // QImode move
R2=[R2] // QImode move
[bp+1]=R2 // QImode move
R1=[bp+1] // QImode move
R2=R4 // QImode move
[R2]=R1 // QImode move
R4=R4+1
R3=R3+1
R1=R3 // QImode move
R1=[R1] // QImode move
[bp+2]=R1 // QImode move
R2=[bp+2] // QImode move
R1=R4 // QImode move
[R1]=R2 // QImode move
R4=R4+1
R3=R3+1
R2=R3 // QImode move
R2=[R2] // QImode move
[bp+3]=R2 // QImode move
R1=[bp+3] // QImode move
R2=R4 // QImode move
[R2]=R1 // QImode move
R4=R4+1
R3=R3+1
R1=R3 // QImode move
R1=[R1] // QImode move
[bp+4]=R1 // QImode move
R2=[bp+4] // QImode move
R1=R4 // QImode move
[R1]=R2 // QImode move
R4=R4+1
R3=R3+1
R2=R3 // QImode move
R2=[R2] // QImode move
[bp+5]=R2 // QImode move
R1=[bp+5] // QImode move
R2=R4 // QImode move
[R2]=R1 // QImode move
R4=R4+1
R3=R3+1
pc=L9 // Indirect jump
.debug
.dw '.stabn 0x44,0,114,',0,0
.dd LM40-_Cal_GetTime
.dw 0x0d,0x0a
.code
LM40:
.debug
.dw '.stabn 0x44,0,114,',0,0
.dd LM41-_Cal_GetTime
.dw 0x0d,0x0a
.code
LM41:
L9:
R1=[bp+7] // QImode move
sp+=8
pop bp from [sp]
retf
.endp // end of Cal_GetTime
.debug
.dw '.stabf ',0,0
.dd LME8-_Cal_GetTime
.dw 0x0d,0x0a
.code
LME8:
.code
.debug
.dw '.stabs "Cal_SetSysTime:F19",36,0,0,',0,0,offset _Cal_SetSysTime,seg _Cal_SetSysTime,0x0d,0x0a
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -