📄 keyhandle.asm
字号:
// GCC for SUNPLUS u'nSP version 1.0.10
// Command: D:\PROGRA~1\Sunplus\UNSPID~2\IDE180\cc1.exe D:\DOCUME~1\陈孝彬\LOCALS~1\Temp\ccyCaaaa.i -fkeep-inline-functions -quiet -dumpbase KeyHandle.c -gstabs -o .\Debug/KeyHandle.asm
// gcc2_compiled.:
.stabs "F:\\DXJH\\e_design\\Data_Sample\\release\\DataCollection_code\\DataCollection_Host/", 0x64, 0, 3, Ltext0
.stabs "F:/DXJH/e_design/Data_Sample/release/DataCollection_code/DataCollection_Host/KeyHandle.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 "_Sys_Flags:T20=s5uiSelectSample:4,0,1;uiCircleSample:4,1,1;\\",128,0,0,0',0x0d,0x0a
.DW '.stabs "uiEnterKey:4,2,1;uiCancelKey:4,3,1;uiPlaySpeechKey:4,4,1;\\",128,0,0,0',0x0d,0x0a
.DW '.stabs "uiSampleOk:4,5,1;uiChannelNumber:4,16,16;\\",128,0,0,0',0x0d,0x0a
.DW '.stabs "uiSysFaultNumber:4,32,16;uiChannelVoltageValue:4,48,16;\\",128,0,0,0',0x0d,0x0a
.DW '.stabs "uiDisplayVoltageValue:4,64,16;;",128,0,0,0',0x0d,0x0a
.CODE
.debug
.dw '.stabs "SYSFLAGS:t21=20",128,0,0,0',0x0d,0x0a
.CODE
.code
.debug
.dw '.stabs "F_KeyHandle:F19",36,0,0,',0,0,offset _F_KeyHandle,seg _F_KeyHandle,0x0d,0x0a
.CODE
.public _F_KeyHandle
_F_KeyHandle: .proc
.debug
.dw '.stabn 0x44,0,9,',0,0
.dd LM1-_F_KeyHandle
.dw 0x0d,0x0a
.code
LM1:
// 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,10,',0,0
.dd LM2-_F_KeyHandle
.dw 0x0d,0x0a
.code
LM2:
LBB2:
R1=0 // QImode move
[BP]=R1 // QImode move
.debug
.dw '.stabn 0x44,0,11,',0,0
.dd LM3-_F_KeyHandle
.dw 0x0d,0x0a
.code
LM3:
R2=[_g_uiKeyValue] // QImode move
R1=R2+(-1)
CMP R1,11 // QImode compare
JNA L23 // QImode GTU
PC=L21
L23:
R2=R1 // QImode move
R1=R2 // QImode move
R1=R1+L22
R3=R1 // QImode move
R2=[R3] // QImode move
pc=R2 // tablejump
.text
L22:
.dw L10
.dw L10
.dw L10
.dw L10
.dw L10
.dw L10
.dw L10
.dw L12
.dw L13
.dw L18
.dw L19
.dw L20
.code
L4:
L5:
L6:
L7:
L8:
L9:
L10:
.debug
.dw '.stabn 0x44,0,20,',0,0
.dd LM4-_F_KeyHandle
.dw 0x0d,0x0a
.code
LM4:
R2=[_sSysFlags] // QImode move
R1=R2&1
CMP R1,1 // QImode compare
JZ L24 // QImode NE
PC=L11
L24:
.debug
.dw '.stabn 0x44,0,22,',0,0
.dd LM5-_F_KeyHandle
.dw 0x0d,0x0a
.code
LM5:
R1=[_g_uiKeyValue] // QImode move
[_sSysFlags+1]=R1 // QImode move
.debug
.dw '.stabn 0x44,0,23,',0,0
.dd LM6-_F_KeyHandle
.dw 0x0d,0x0a
.code
LM6:
R1=4 // QImode move
[SP--]=R1 // QImode move
call _F_PlayRespond // call without return value
SP=SP+1
L11:
.debug
.dw '.stabn 0x44,0,25,',0,0
.dd LM7-_F_KeyHandle
.dw 0x0d,0x0a
.code
LM7:
pc=L3 // jump
L12:
.debug
.dw '.stabn 0x44,0,27,',0,0
.dd LM8-_F_KeyHandle
.dw 0x0d,0x0a
.code
LM8:
R1=[_sSysFlags] // QImode move
R2=16 // QImode move
[_sSysFlags]=R1|R2
.debug
.dw '.stabn 0x44,0,28,',0,0
.dd LM9-_F_KeyHandle
.dw 0x0d,0x0a
.code
LM9:
pc=L3 // jump
L13:
.debug
.dw '.stabn 0x44,0,30,',0,0
.dd LM10-_F_KeyHandle
.dw 0x0d,0x0a
.code
LM10:
R1=[_sSysFlags] // QImode move
R2=1 // QImode move
[_sSysFlags]=R1|R2
.debug
.dw '.stabn 0x44,0,31,',0,0
.dd LM11-_F_KeyHandle
.dw 0x0d,0x0a
.code
LM11:
R1=2 // QImode move
[SP--]=R1 // QImode move
call _F_PlayRespond // call without return value
SP=SP+1
.debug
.dw '.stabn 0x44,0,32,',0,0
.dd LM12-_F_KeyHandle
.dw 0x0d,0x0a
.code
LM12:
R1=0 // QImode move
[BP]=R1 // QImode move
L14:
R1=[BP] // QImode move
CMP R1,(-2) // QImode compare
JA L25 // QImode LEU
PC=L16
L25:
pc=L15 // jump
L17:
L16:
R1=[BP] // QImode move
R2=R1+1
[BP]=R2 // QImode move
pc=L14 // jump
L15:
.debug
.dw '.stabn 0x44,0,33,',0,0
.dd LM13-_F_KeyHandle
.dw 0x0d,0x0a
.code
LM13:
R1=3 // QImode move
[SP--]=R1 // QImode move
call _F_PlayRespond // call without return value
SP=SP+1
.debug
.dw '.stabn 0x44,0,34,',0,0
.dd LM14-_F_KeyHandle
.dw 0x0d,0x0a
.code
LM14:
pc=L3 // jump
L18:
.debug
.dw '.stabn 0x44,0,36,',0,0
.dd LM15-_F_KeyHandle
.dw 0x0d,0x0a
.code
LM15:
R1=[_sSysFlags] // QImode move
R2=2 // QImode move
[_sSysFlags]=R1|R2
.debug
.dw '.stabn 0x44,0,37,',0,0
.dd LM16-_F_KeyHandle
.dw 0x0d,0x0a
.code
LM16:
R1=2 // QImode move
[SP--]=R1 // QImode move
call _F_PlayRespond // call without return value
SP=SP+1
.debug
.dw '.stabn 0x44,0,38,',0,0
.dd LM17-_F_KeyHandle
.dw 0x0d,0x0a
.code
LM17:
pc=L3 // jump
L19:
.debug
.dw '.stabn 0x44,0,40,',0,0
.dd LM18-_F_KeyHandle
.dw 0x0d,0x0a
.code
LM18:
R1=[_sSysFlags] // QImode move
R2=4 // QImode move
[_sSysFlags]=R1|R2
.debug
.dw '.stabn 0x44,0,41,',0,0
.dd LM19-_F_KeyHandle
.dw 0x0d,0x0a
.code
LM19:
pc=L3 // jump
L20:
.debug
.dw '.stabn 0x44,0,43,',0,0
.dd LM20-_F_KeyHandle
.dw 0x0d,0x0a
.code
LM20:
R1=[_sSysFlags] // QImode move
R2=8 // QImode move
[_sSysFlags]=R1|R2
.debug
.dw '.stabn 0x44,0,44,',0,0
.dd LM21-_F_KeyHandle
.dw 0x0d,0x0a
.code
LM21:
pc=L3 // jump
L21:
.debug
.dw '.stabn 0x44,0,46,',0,0
.dd LM22-_F_KeyHandle
.dw 0x0d,0x0a
.code
LM22:
pc=L3 // jump
L3:
.debug
.dw '.stabn 0x44,0,48,',0,0
.dd LM23-_F_KeyHandle
.dw 0x0d,0x0a
.code
LM23:
LBE2:
.debug
.dw '.stabn 0x44,0,48,',0,0
.dd LM24-_F_KeyHandle
.dw 0x0d,0x0a
.code
LM24:
L2:
sp+=2
pop bp from [sp]
retf
.endp // end of F_KeyHandle
.debug
.dw '.stabn 0xc0,0,0,',0,0
.dd LBB2-_F_KeyHandle
.dw 0x0d,0x0a
.code
.debug
.dw '.stabs "i:4",128,0,0,0',0x0d,0x0a
.CODE
.debug
.dw '.stabn 0xe0,0,0,',0,0
.dd LBE2-_F_KeyHandle
.dw 0x0d,0x0a
.code
.debug
.dw '.stabf ',0,0
.dd LME1-_F_KeyHandle
.dw 0x0d,0x0a
.code
LME1:
.external _F_PlayRespond
.external _sSysFlags
.external _g_uiKeyValue
.end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -