📄 idctemp.asm
字号:
// GCC for SUNPLUS u'nSP version 1.0.17
// Command: D:\SUNPLUS\UNSPID~2.1\unSPIDE\cc1.exe C:\DOCUME~1\JAYZHU~1\LOCALS~1\Temp\ccyAaaaa.i -quiet -dumpbase IDCTEMP.c -mglobal-var-iram -gstabs -o .\Debug/IDCTEMP.asm
// gcc2_compiled.:
.stabs "D:\\SUNPLUS\\unSP IDE 1.16.1\\unSPIDE\\IDCONTROL/", 0x64, 0, 3, Ltext0
.stabs "D:/SUNPLUS/unSP IDE 1.16.1/unSPIDE/IDCONTROL/IDCTEMP.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
.public _uiTimeset
.iram
_uiTimeset:
.dw 3
.debug
.dw '.stabs "uiTimeset:G4",32,0,0,',0,0,offset _uiTimeset,seg _uiTimeset,0x0d,0x0a
.CODE
.debug
.dw '.stabs "uiTimecont:G4",32,0,0,',0,0,offset _uiTimecont,seg _uiTimecont,0x0d,0x0a
.CODE
.debug
.dw '.stabs "rock:G20=*4",32,0,0,',0,0,offset _rock,seg _rock,0x0d,0x0a
.CODE
.code
.debug
.dw '.stabs "Delay:F19",36,0,0,',0,0,offset _Delay,seg _Delay,0x0d,0x0a
.CODE
.public _Delay
_Delay: .proc
.debug
.dw '.stabn 0x44,0,47,',0,0
.dd LM1-_Delay
.dw 0x0d,0x0a
.code
LM1:
// total=3, vars=3
// frame_pointer_needed: 1
push bp to [sp]
sp-=3
bp=sp+1
R1=BP+6
.debug
.dw '.stabn 0x44,0,48,',0,0
.dd LM2-_Delay
.dw 0x0d,0x0a
.code
LM2:
LBB2:
.debug
.dw '.stabn 0x44,0,50,',0,0
.dd LM3-_Delay
.dw 0x0d,0x0a
.code
LM3:
R2=BP // QImode move
R3=BP+1
R2=0 // QImode move
R4=R3 // QImode move
[R4]=R2 // QImode move
L3:
R2=BP // QImode move
R3=BP+1
R4=R3 // QImode move
R2=[R4] // QImode move
CMP R2,2046 // QImode compare
JA L11 // QImode LEU
PC=L6
L11:
pc=L4 // Indirect jump
L6:
.debug
.dw '.stabn 0x44,0,52,',0,0
.dd LM4-_Delay
.dw 0x0d,0x0a
.code
LM4:
R2=0 // QImode move
[BP]=R2 // QImode move
L7:
R2=[BP] // QImode move
CMP R2,16382 // QImode compare
JA L12 // QImode LEU
PC=L10
L12:
pc=L5 // Indirect jump
L10:
.debug
.dw '.stabn 0x44,0,54,',0,0
.dd LM5-_Delay
.dw 0x0d,0x0a
.code
LM5:
R2=1 // QImode move
[28690]=R2 // QImode move
.debug
.dw '.stabn 0x44,0,52,',0,0
.dd LM6-_Delay
.dw 0x0d,0x0a
.code
LM6:
L9:
R2=[BP] // QImode move
R3=R2+1
[BP]=R3 // QImode move
pc=L7 // Indirect jump
L8:
.debug
.dw '.stabn 0x44,0,50,',0,0
.dd LM7-_Delay
.dw 0x0d,0x0a
.code
LM7:
L5:
R2=BP // QImode move
R3=BP+1
R4=BP // QImode move
R2=BP+1
R3=BP // QImode move
R3=BP+1
[bp+2]=R3 // QImode move
R4=[bp+2] // QImode move
R3=[R4] // QImode move
R4=R3+1
R3=R2 // QImode move
[R3]=R4 // QImode move
pc=L3 // Indirect jump
L4:
.debug
.dw '.stabn 0x44,0,57,',0,0
.dd LM8-_Delay
.dw 0x0d,0x0a
.code
LM8:
LBE2:
.debug
.dw '.stabn 0x44,0,57,',0,0
.dd LM9-_Delay
.dw 0x0d,0x0a
.code
LM9:
L2:
sp+=3
pop bp from [sp]
retf
.endp // end of Delay
.debug
.dw '.stabn 0xc0,0,0,',0,0
.dd LBB2-_Delay
.dw 0x0d,0x0a
.code
.debug
.dw '.stabs "i:4",128,0,0,0',0x0d,0x0a
.CODE
.debug
.dw '.stabs "j:4",128,0,0,1',0x0d,0x0a
.CODE
.debug
.dw '.stabn 0xe0,0,0,',0,0
.dd LBE2-_Delay
.dw 0x0d,0x0a
.code
.debug
.dw '.stabf ',0,0
.dd LME1-_Delay
.dw 0x0d,0x0a
.code
LME1:
.code
.debug
.dw '.stabs "PlaySnd:F19",36,0,0,',0,0,offset _PlaySnd,seg _PlaySnd,0x0d,0x0a
.CODE
.public _PlaySnd
_PlaySnd: .proc
.debug
.dw '.stabn 0x44,0,66,',0,0
.dd LM10-_PlaySnd
.dw 0x0d,0x0a
.code
LM10:
// 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,67,',0,0
.dd LM11-_PlaySnd
.dw 0x0d,0x0a
.code
LM11:
LBB3:
call _BSR_StopRecognizer // call without return value
.debug
.dw '.stabn 0x44,0,68,',0,0
.dd LM12-_PlaySnd
.dw 0x0d,0x0a
.code
LM12:
R1=1 // QImode move
[SP--]=R1 // QImode move
call _SACM_S480_Initial // call with return value
SP=SP+1
.debug
.dw '.stabn 0x44,0,71,',0,0
.dd LM13-_PlaySnd
.dw 0x0d,0x0a
.code
LM13:
R1=3 // QImode move
[SP--]=R1 // QImode move
R1=[BP] // QImode move
R3=[BP] // QImode move
R2=R3+1
R3=R2 // QImode move
R1=[R3] // QImode move
[SP--]=R1 // QImode move
R2=[BP] // QImode move
R1=[R2] // QImode move
[SP--]=R1 // QImode move
call _SACM_S480_Play // call with return value
SP=SP+3
.debug
.dw '.stabn 0x44,0,72,',0,0
.dd LM14-_PlaySnd
.dw 0x0d,0x0a
.code
LM14:
L14:
call _SACM_S480_Status // call with return value
R2=R1&1
CMP R2,0 // QImode test
JZ L17 // QImode NE
PC=L16
L17:
pc=L15 // Indirect jump
L16:
.debug
.dw '.stabn 0x44,0,74,',0,0
.dd LM15-_PlaySnd
.dw 0x0d,0x0a
.code
LM15:
LBB4:
call _SACM_S480_ServiceLoop // call with return value
.debug
.dw '.stabn 0x44,0,75,',0,0
.dd LM16-_PlaySnd
.dw 0x0d,0x0a
.code
LM16:
R1=1 // QImode move
[28690]=R1 // QImode move
.debug
.dw '.stabn 0x44,0,76,',0,0
.dd LM17-_PlaySnd
.dw 0x0d,0x0a
.code
LM17:
LBE4:
pc=L14 // Indirect jump
L15:
.debug
.dw '.stabn 0x44,0,77,',0,0
.dd LM18-_PlaySnd
.dw 0x0d,0x0a
.code
LM18:
call _SACM_S480_Stop // call with return value
.debug
.dw '.stabn 0x44,0,78,',0,0
.dd LM19-_PlaySnd
.dw 0x0d,0x0a
.code
LM19:
R1=0 // QImode move
[SP--]=R1 // QImode move
call _BSR_InitRecognizer // call with return value
SP=SP+1
.debug
.dw '.stabn 0x44,0,79,',0,0
.dd LM20-_PlaySnd
.dw 0x0d,0x0a
.code
LM20:
LBE3:
.debug
.dw '.stabn 0x44,0,79,',0,0
.dd LM21-_PlaySnd
.dw 0x0d,0x0a
.code
LM21:
L13:
sp+=1
pop bp from [sp]
retf
.endp // end of PlaySnd
.debug
.dw '.stabs "SndIndex:p4",160,0,0,4',0x0d,0x0a
.CODE
.debug
.dw '.stabs "DAC_Channel:p4",160,0,0,5',0x0d,0x0a
.CODE
.debug
.dw '.stabn 0xc0,0,0,',0,0
.dd LBB3-_PlaySnd
.dw 0x0d,0x0a
.code
.debug
.dw '.stabn 0xc0,0,0,',0,0
.dd LBB4-_PlaySnd
.dw 0x0d,0x0a
.code
.debug
.dw '.stabn 0xe0,0,0,',0,0
.dd LBE4-_PlaySnd
.dw 0x0d,0x0a
.code
.debug
.dw '.stabn 0xe0,0,0,',0,0
.dd LBE3-_PlaySnd
.dw 0x0d,0x0a
.code
.debug
.dw '.stabf ',0,0
.dd LME2-_PlaySnd
.dw 0x0d,0x0a
.code
LME2:
.code
.debug
.dw '.stabs "TrainWord:F1",36,0,0,',0,0,offset _TrainWord,seg _TrainWord,0x0d,0x0a
.CODE
.public _TrainWord
_TrainWord: .proc
.debug
.dw '.stabn 0x44,0,88,',0,0
.dd LM22-_TrainWord
.dw 0x0d,0x0a
.code
LM22:
// 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,89,',0,0
.dd LM23-_TrainWord
.dw 0x0d,0x0a
.code
LM23:
LBB5:
.debug
.dw '.stabn 0x44,0,90,',0,0
.dd LM24-_TrainWord
.dw 0x0d,0x0a
.code
LM24:
R1=3 // QImode move
[SP--]=R1 // QImode move
R1=[bp+1] // QImode move
R3=[bp+1] // QImode move
R2=R3+1
R3=R2 // QImode move
R1=[R3] // QImode move
[SP--]=R1 // QImode move
call _PlaySnd // call without return value
SP=SP+2
.debug
.dw '.stabn 0x44,0,91,',0,0
.dd LM25-_TrainWord
.dw 0x0d,0x0a
.code
LM25:
L19:
pc=L21 // Indirect jump
pc=L20 // Indirect jump
L21:
.debug
.dw '.stabn 0x44,0,93,',0,0
.dd LM26-_TrainWord
.dw 0x0d,0x0a
.code
LM26:
R1=0 // QImode move
[SP--]=R1 // QImode move
R2=[bp+1] // QImode move
R1=[R2] // QImode move
[SP--]=R1 // QImode move
call _BSR_Train // call with return value
SP=SP+2
[BP]=R1 // QImode move
.debug
.dw '.stabn 0x44,0,95,',0,0
.dd LM27-_TrainWord
.dw 0x0d,0x0a
.code
LM27:
R1=[BP] // QImode move
CMP R1,0 // QImode test
JZ L32 // QImode NE
PC=L22
L32:
pc=L20 // Indirect jump
L22:
.debug
.dw '.stabn 0x44,0,96,',0,0
.dd LM28-_TrainWord
.dw 0x0d,0x0a
.code
LM28:
R2=[BP] // QImode move
R1=R2+6
CMP R1,5 // QImode compare
JNA L33 // QImode GTU
PC=L30
L33:
R2=R1 // QImode move
R1=R2 // QImode move
R1=R1+L31
R3=R1 // QImode move
R2=[R3] // QImode move
pc=R2 // tablejump
.text
L31:
.dw L29
.dw L28
.dw L27
.dw L26
.dw L25
.dw L24
.code
L24:
.debug
.dw '.stabn 0x44,0,99,',0,0
.dd LM29-_TrainWord
.dw 0x0d,0x0a
.code
LM29:
R1=3 // QImode move
[SP--]=R1 // QImode move
R1=6 // QImode move
[SP--]=R1 // QImode move
call _PlaySnd // call without return value
SP=SP+2
.debug
.dw '.stabn 0x44,0,100,',0,0
.dd LM30-_TrainWord
.dw 0x0d,0x0a
.code
LM30:
R1=(-1) // QImode move
pc=L18 // Indirect jump
L25:
.debug
.dw '.stabn 0x44,0,102,',0,0
.dd LM31-_TrainWord
.dw 0x0d,0x0a
.code
LM31:
R1=3 // QImode move
[SP--]=R1 // QImode move
R1=5 // QImode move
[SP--]=R1 // QImode move
call _PlaySnd // call without return value
SP=SP+2
.debug
.dw '.stabn 0x44,0,103,',0,0
.dd LM32-_TrainWord
.dw 0x0d,0x0a
.code
LM32:
pc=L23 // Indirect jump
L26:
.debug
.dw '.stabn 0x44,0,105,',0,0
.dd LM33-_TrainWord
.dw 0x0d,0x0a
.code
LM33:
R1=3 // QImode move
[SP--]=R1 // QImode move
R1=8 // QImode move
[SP--]=R1 // QImode move
call _PlaySnd // call without return value
SP=SP+2
.debug
.dw '.stabn 0x44,0,106,',0,0
.dd LM34-_TrainWord
.dw 0x0d,0x0a
.code
LM34:
R1=(-3) // QImode move
pc=L18 // Indirect jump
L27:
.debug
.dw '.stabn 0x44,0,108,',0,0
.dd LM35-_TrainWord
.dw 0x0d,0x0a
.code
LM35:
R1=(-4) // QImode move
pc=L18 // Indirect jump
L28:
.debug
.dw '.stabn 0x44,0,110,',0,0
.dd LM36-_TrainWord
.dw 0x0d,0x0a
.code
LM36:
R1=3 // QImode move
[SP--]=R1 // QImode move
R1=7 // QImode move
[SP--]=R1 // QImode move
call _PlaySnd // call without return value
SP=SP+2
.debug
.dw '.stabn 0x44,0,111,',0,0
.dd LM37-_TrainWord
.dw 0x0d,0x0a
.code
LM37:
R1=(-5) // QImode move
pc=L18 // Indirect jump
L29:
.debug
.dw '.stabn 0x44,0,113,',0,0
.dd LM38-_TrainWord
.dw 0x0d,0x0a
.code
LM38:
R1=(-6) // QImode move
pc=L18 // Indirect jump
L30:
.debug
.dw '.stabn 0x44,0,115,',0,0
.dd LM39-_TrainWord
.dw 0x0d,0x0a
.code
LM39:
pc=L23 // Indirect jump
L23:
.debug
.dw '.stabn 0x44,0,117,',0,0
.dd LM40-_TrainWord
.dw 0x0d,0x0a
.code
LM40:
pc=L19 // Indirect jump
L20:
.debug
.dw '.stabn 0x44,0,118,',0,0
.dd LM41-_TrainWord
.dw 0x0d,0x0a
.code
LM41:
R1=0 // QImode move
pc=L18 // Indirect jump
.debug
.dw '.stabn 0x44,0,119,',0,0
.dd LM42-_TrainWord
.dw 0x0d,0x0a
.code
LM42:
LBE5:
.debug
.dw '.stabn 0x44,0,119,',0,0
.dd LM43-_TrainWord
.dw 0x0d,0x0a
.code
LM43:
L18:
sp+=2
pop bp from [sp]
retf
.endp // end of TrainWord
.debug
.dw '.stabs "WordID:p4",160,0,0,5',0x0d,0x0a
.CODE
.debug
.dw '.stabs "SndID:p4",160,0,0,6',0x0d,0x0a
.CODE
.debug
.dw '.stabn 0xc0,0,0,',0,0
.dd LBB5-_TrainWord
.dw 0x0d,0x0a
.code
.debug
.dw '.stabs "Result:1",128,0,0,0',0x0d,0x0a
.CODE
.debug
.dw '.stabn 0xe0,0,0,',0,0
.dd LBE5-_TrainWord
.dw 0x0d,0x0a
.code
.debug
.dw '.stabf ',0,0
.dd LME3-_TrainWord
.dw 0x0d,0x0a
.code
LME3:
.code
.debug
.dw '.stabs "TrainSD:F19",36,0,0,',0,0,offset _TrainSD,seg _TrainSD,0x0d,0x0a
.CODE
.public _TrainSD
_TrainSD: .proc
.debug
.dw '.stabn 0x44,0,127,',0,0
.dd LM44-_TrainSD
.dw 0x0d,0x0a
.code
LM44:
// 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,128,',0,0
.dd LM45-_TrainSD
.dw 0x0d,0x0a
.code
LM45:
L35:
R1=0 // QImode move
[SP--]=R1 // QImode move
R1=256 // QImode move
[SP--]=R1 // QImode move
call _TrainWord // call with return value
SP=SP+2
CMP R1,0 // QImode test
JZ L47 // QImode NE
PC=L37
L47:
pc=L36 // Indirect jump
L37:
pc=L35 // Indirect jump
L36:
.debug
.dw '.stabn 0x44,0,129,',0,0
.dd LM46-_TrainSD
.dw 0x0d,0x0a
.code
LM46:
L38:
R1=1 // QImode move
[SP--]=R1 // QImode move
R1=257 // QImode move
[SP--]=R1 // QImode move
call _TrainWord // call with return value
SP=SP+2
CMP R1,0 // QImode test
JZ L48 // QImode NE
PC=L40
L48:
pc=L39 // Indirect jump
L40:
pc=L38 // Indirect jump
L39:
.debug
.dw '.stabn 0x44,0,130,',0,0
.dd LM47-_TrainSD
.dw 0x0d,0x0a
.code
LM47:
L41:
R1=2 // QImode move
[SP--]=R1 // QImode move
R1=258 // QImode move
[SP--]=R1 // QImode move
call _TrainWord // call with return value
SP=SP+2
CMP R1,0 // QImode test
JZ L49 // QImode NE
PC=L43
L49:
pc=L42 // Indirect jump
L43:
pc=L41 // Indirect jump
L42:
.debug
.dw '.stabn 0x44,0,131,',0,0
.dd LM48-_TrainSD
.dw 0x0d,0x0a
.code
LM48:
L44:
R1=3 // QImode move
[SP--]=R1 // QImode move
R1=259 // QImode move
[SP--]=R1 // QImode move
call _TrainWord // call with return value
SP=SP+2
CMP R1,0 // QImode test
JZ L50 // QImode NE
PC=L46
L50:
pc=L45 // Indirect jump
L46:
pc=L44 // Indirect jump
L45:
.debug
.dw '.stabn 0x44,0,132,',0,0
.dd LM49-_TrainSD
.dw 0x0d,0x0a
.code
LM49:
.debug
.dw '.stabn 0x44,0,132,',0,0
.dd LM50-_TrainSD
.dw 0x0d,0x0a
.code
LM50:
L34:
sp+=1
pop bp from [sp]
retf
.endp // end of TrainSD
.debug
.dw '.stabf ',0,0
.dd LME4-_TrainSD
.dw 0x0d,0x0a
.code
LME4:
.code
.debug
.dw '.stabs "StoreSD:F19",36,0,0,',0,0,offset _StoreSD,seg _StoreSD,0x0d,0x0a
.CODE
.public _StoreSD
_StoreSD: .proc
.debug
.dw '.stabn 0x44,0,140,',0,0
.dd LM51-_StoreSD
.dw 0x0d,0x0a
.code
LM51:
// total=7, vars=7
// frame_pointer_needed: 1
push bp to [sp]
sp-=7
bp=sp+1
R1=BP+10
[bp+4]=R1 // QImode move
.debug
.dw '.stabn 0x44,0,141,',0,0
.dd LM52-_StoreSD
.dw 0x0d,0x0a
.code
LM52:
LBB6:
.debug
.dw '.stabn 0x44,0,145,',0,0
.dd LM53-_StoreSD
.dw 0x0d,0x0a
.code
LM53:
R1=(-21846) // QImode move
[SP--]=R1 // QImode move
R1=(-4352) // QImode move
[SP--]=R1 // QImode move
call _F_FlashWrite1Word // call without return value
SP=SP+2
.debug
.dw '.stabn 0x44,0,146,',0,0
.dd LM54-_StoreSD
.dw 0x0d,0x0a
.code
LM54:
R1=(-8192) // QImode move
[SP--]=R1 // QImode move
call _F_FlashErase // call without return value
SP=SP+1
.debug
.dw '.stabn 0x44,0,147,',0,0
.dd LM55-_StoreSD
.dw 0x0d,0x0a
.code
LM55:
R1=(-7936) // QImode move
[SP--]=R1 // QImode move
call _F_FlashErase // call without return value
SP=SP+1
.debug
.dw '.stabn 0x44,0,148,',0,0
.dd LM56-_StoreSD
.dw 0x0d,0x0a
.code
LM56:
R1=(-7680) // QImode move
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -