📄 sacm_dvr1600_user_c.asm
字号:
// GCC for SUNPLUS u'nSP version 1.0.17
// Command: C:\PROGRA~1\Sunplus\UNSPID~1.1\unSPIDE\cc1.exe C:\DOCUME~1\glg\LOCALS~1\Temp\ccYnaaaa.i -quiet -dumpbase SACM_DVR1600_User_C.c -mglobal-var-iram -gstabs -Wall -o .\Debug/SACM_DVR1600_User_C.asm
// gcc2_compiled.:
.stabs "D:\\glg\\23无线语音传输系统礼包\\参考代码\\WirelessCom/", 0x64, 0, 3, Ltext0
.stabs "D:/glg/23蝄\336蟎\337覾\357襖\364碶\253蔦\344蟎\265蚛\263繺\361癨\374/瞈\316縗\274碶\372耚\353/WirelessCom/SACM_DVR1600_User_C.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 "ResAddr:G4",32,0,0,',0,0,offset _ResAddr,seg _ResAddr,0x0d,0x0a
.CODE
.code
.debug
.dw '.stabs "USER_DVR1600_GetResource_Init:F19",36,0,0,',0,0,offset _USER_DVR1600_GetResource_Init,seg _USER_DVR1600_GetResource_Init,0x0d,0x0a
.CODE
.public _USER_DVR1600_GetResource_Init
_USER_DVR1600_GetResource_Init: .proc
.debug
.dw '.stabn 0x44,0,34,',0,0
.dd LM1-_USER_DVR1600_GetResource_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,35,',0,0
.dd LM2-_USER_DVR1600_GetResource_Init
.dw 0x0d,0x0a
.code
LM2:
R1=(-1) // QImode move
[SP--]=R1 // QImode move
call _Queue_Write // call without return value
SP=SP+1
.debug
.dw '.stabn 0x44,0,36,',0,0
.dd LM3-_USER_DVR1600_GetResource_Init
.dw 0x0d,0x0a
.code
LM3:
R1=(-1) // QImode move
[SP--]=R1 // QImode move
call _Queue_Write // call without return value
SP=SP+1
.debug
.dw '.stabn 0x44,0,37,',0,0
.dd LM4-_USER_DVR1600_GetResource_Init
.dw 0x0d,0x0a
.code
LM4:
R1=(-32763) // QImode move
[SP--]=R1 // QImode move
call _Queue_Write // call without return value
SP=SP+1
.debug
.dw '.stabn 0x44,0,38,',0,0
.dd LM5-_USER_DVR1600_GetResource_Init
.dw 0x0d,0x0a
.code
LM5:
.debug
.dw '.stabn 0x44,0,38,',0,0
.dd LM6-_USER_DVR1600_GetResource_Init
.dw 0x0d,0x0a
.code
LM6:
L2:
sp+=1
pop bp from [sp]
retf
.endp // end of USER_DVR1600_GetResource_Init
.debug
.dw '.stabs "SoundIndex:p4",160,0,0,4',0x0d,0x0a
.CODE
.debug
.dw '.stabf ',0,0
.dd LME1-_USER_DVR1600_GetResource_Init
.dw 0x0d,0x0a
.code
LME1:
.code
.debug
.dw '.stabs "USER_DVR1600_GetResource:F19",36,0,0,',0,0,offset _USER_DVR1600_GetResource,seg _USER_DVR1600_GetResource,0x0d,0x0a
.CODE
.public _USER_DVR1600_GetResource
_USER_DVR1600_GetResource: .proc
.debug
.dw '.stabn 0x44,0,48,',0,0
.dd LM7-_USER_DVR1600_GetResource
.dw 0x0d,0x0a
.code
LM7:
// 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,49,',0,0
.dd LM8-_USER_DVR1600_GetResource
.dw 0x0d,0x0a
.code
LM8:
LBB2:
.debug
.dw '.stabn 0x44,0,50,',0,0
.dd LM9-_USER_DVR1600_GetResource
.dw 0x0d,0x0a
.code
LM9:
L4:
R2=[bp+1] // QImode move
R2=[bp+1] // QImode move
R1=R2+1
R3=R1 // QImode move
R2=[R3] // QImode move
R3=R2 // QImode move
R2=R2+(-1)
R4=R1 // QImode move
[R4]=R2 // QImode move
CMP R3,0 // QImode test
JZ L11 // QImode NE
PC=L6
L11:
pc=L5 // Indirect jump
L6:
.debug
.dw '.stabn 0x44,0,52,',0,0
.dd LM10-_USER_DVR1600_GetResource
.dw 0x0d,0x0a
.code
LM10:
L7:
call _Queue_Test // call with return value
CMP R1,(-1) // QImode compare
JNZ L12 // QImode EQ
PC=L9
L12:
pc=L8 // Indirect jump
L9:
.debug
.dw '.stabn 0x44,0,54,',0,0
.dd LM11-_USER_DVR1600_GetResource
.dw 0x0d,0x0a
.code
LM11:
R1=1 // QImode move
[28690]=R1 // QImode move
.debug
.dw '.stabn 0x44,0,55,',0,0
.dd LM12-_USER_DVR1600_GetResource
.dw 0x0d,0x0a
.code
LM12:
R1=[_PlayFlag] // QImode move
CMP R1,0 // QImode test
JZ L13 // QImode NE
PC=L10
L13:
.debug
.dw '.stabn 0x44,0,56,',0,0
.dd LM13-_USER_DVR1600_GetResource
.dw 0x0d,0x0a
.code
LM13:
pc=L8 // Indirect jump
L10:
.debug
.dw '.stabn 0x44,0,57,',0,0
.dd LM14-_USER_DVR1600_GetResource
.dw 0x0d,0x0a
.code
LM14:
pc=L7 // Indirect jump
L8:
.debug
.dw '.stabn 0x44,0,58,',0,0
.dd LM15-_USER_DVR1600_GetResource
.dw 0x0d,0x0a
.code
LM15:
call _Queue_Read // call with return value
[BP]=R1 // QImode move
.debug
.dw '.stabn 0x44,0,59,',0,0
.dd LM16-_USER_DVR1600_GetResource
.dw 0x0d,0x0a
.code
LM16:
R2=[bp+1] // QImode move
R1=[R2] // QImode move
R2=[BP] // QImode move
R3=R1 // QImode move
[R3]=R2 // QImode move
R1=R1+1
R4=[bp+1] // QImode move
[R4]=R1 // QImode move
.debug
.dw '.stabn 0x44,0,60,',0,0
.dd LM17-_USER_DVR1600_GetResource
.dw 0x0d,0x0a
.code
LM17:
pc=L4 // Indirect jump
L5:
.debug
.dw '.stabn 0x44,0,61,',0,0
.dd LM18-_USER_DVR1600_GetResource
.dw 0x0d,0x0a
.code
LM18:
LBE2:
.debug
.dw '.stabn 0x44,0,61,',0,0
.dd LM19-_USER_DVR1600_GetResource
.dw 0x0d,0x0a
.code
LM19:
L3:
sp+=2
pop bp from [sp]
retf
.endp // end of USER_DVR1600_GetResource
.debug
.dw '.stabs "p_Buf:p20=*4",160,0,0,5',0x0d,0x0a
.CODE
.debug
.dw '.stabs "Words:p4",160,0,0,6',0x0d,0x0a
.CODE
.debug
.dw '.stabn 0xc0,0,0,',0,0
.dd LBB2-_USER_DVR1600_GetResource
.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-_USER_DVR1600_GetResource
.dw 0x0d,0x0a
.code
.debug
.dw '.stabf ',0,0
.dd LME2-_USER_DVR1600_GetResource
.dw 0x0d,0x0a
.code
LME2:
.code
.debug
.dw '.stabs "USER_DVR1600_SaveResource_Init:F19",36,0,0,',0,0,offset _USER_DVR1600_SaveResource_Init,seg _USER_DVR1600_SaveResource_Init,0x0d,0x0a
.CODE
.public _USER_DVR1600_SaveResource_Init
_USER_DVR1600_SaveResource_Init: .proc
.debug
.dw '.stabn 0x44,0,70,',0,0
.dd LM20-_USER_DVR1600_SaveResource_Init
.dw 0x0d,0x0a
.code
LM20:
// total=0, vars=0
// frame_pointer_needed: 1
push bp to [sp]
bp=sp+1
R1=BP+3
.debug
.dw '.stabn 0x44,0,72,',0,0
.dd LM21-_USER_DVR1600_SaveResource_Init
.dw 0x0d,0x0a
.code
LM21:
L14:
pop bp from [sp]
retf
.endp // end of USER_DVR1600_SaveResource_Init
.debug
.dw '.stabs "UserParam:p4",160,0,0,3',0x0d,0x0a
.CODE
.debug
.dw '.stabf ',0,0
.dd LME3-_USER_DVR1600_SaveResource_Init
.dw 0x0d,0x0a
.code
LME3:
.code
.debug
.dw '.stabs "USER_DVR1600_SaveResource:F19",36,0,0,',0,0,offset _USER_DVR1600_SaveResource,seg _USER_DVR1600_SaveResource,0x0d,0x0a
.CODE
.public _USER_DVR1600_SaveResource
_USER_DVR1600_SaveResource: .proc
.debug
.dw '.stabn 0x44,0,82,',0,0
.dd LM22-_USER_DVR1600_SaveResource
.dw 0x0d,0x0a
.code
LM22:
// 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,83,',0,0
.dd LM23-_USER_DVR1600_SaveResource
.dw 0x0d,0x0a
.code
LM23:
R1=[BP] // QImode move
R3=[BP] // QImode move
R2=R3+1
R4=R2 // QImode move
R1=[R4] // QImode move
CMP R1,13 // QImode compare
JZ L20 // QImode NE
PC=L16
L20:
.debug
.dw '.stabn 0x44,0,85,',0,0
.dd LM24-_USER_DVR1600_SaveResource
.dw 0x0d,0x0a
.code
LM24:
R2=[BP] // QImode move
R1=[R2] // QImode move
R2=R1+1
R3=[BP] // QImode move
[R3]=R2 // QImode move
.debug
.dw '.stabn 0x44,0,86,',0,0
.dd LM25-_USER_DVR1600_SaveResource
.dw 0x0d,0x0a
.code
LM25:
R1=[BP] // QImode move
R4=[BP] // QImode move
R2=R4+1
R3=[BP] // QImode move
R2=[BP] // QImode move
R1=R2+1
R2=[BP] // QImode move
R4=[BP] // QImode move
R3=R4+1
R4=R3 // QImode move
R2=[R4] // QImode move
R3=R2+(-1)
R2=R1 // QImode move
[R2]=R3 // QImode move
L16:
.debug
.dw '.stabn 0x44,0,88,',0,0
.dd LM26-_USER_DVR1600_SaveResource
.dw 0x0d,0x0a
.code
LM26:
L17:
R1=[BP] // QImode move
R3=[BP] // QImode move
R2=R3+1
R3=[BP] // QImode move
R4=[BP] // QImode move
R1=R4+1
R2=[BP] // QImode move
R2=[BP] // QImode move
R3=R2+1
R2=R3 // QImode move
R4=[R2] // QImode move
R2=R4+(-1)
R3=R2 // QImode move
R4=R1 // QImode move
[R4]=R3 // QImode move
CMP R3,(-1) // QImode compare
JZ L21 // QImode NE
PC=L19
L21:
pc=L18 // Indirect jump
L19:
.debug
.dw '.stabn 0x44,0,90,',0,0
.dd LM27-_USER_DVR1600_SaveResource
.dw 0x0d,0x0a
.code
LM27:
R2=[BP] // QImode move
R1=[R2] // QImode move
R3=R1 // QImode move
R2=[R3] // QImode move
[SP--]=R2 // QImode move
R1=R1+1
R4=[BP] // QImode move
[R4]=R1 // QImode move
call _Queue_Write // call without return value
SP=SP+1
.debug
.dw '.stabn 0x44,0,91,',0,0
.dd LM28-_USER_DVR1600_SaveResource
.dw 0x0d,0x0a
.code
LM28:
pc=L17 // Indirect jump
L18:
.debug
.dw '.stabn 0x44,0,92,',0,0
.dd LM29-_USER_DVR1600_SaveResource
.dw 0x0d,0x0a
.code
LM29:
.debug
.dw '.stabn 0x44,0,92,',0,0
.dd LM30-_USER_DVR1600_SaveResource
.dw 0x0d,0x0a
.code
LM30:
L15:
sp+=1
pop bp from [sp]
retf
.endp // end of USER_DVR1600_SaveResource
.debug
.dw '.stabs "p_Buf:p20",160,0,0,4',0x0d,0x0a
.CODE
.debug
.dw '.stabs "Words:p4",160,0,0,5',0x0d,0x0a
.CODE
.debug
.dw '.stabf ',0,0
.dd LME4-_USER_DVR1600_SaveResource
.dw 0x0d,0x0a
.code
LME4:
.code
.debug
.dw '.stabs "USER_DVR1600_SaveResource_End:F19",36,0,0,',0,0,offset _USER_DVR1600_SaveResource_End,seg _USER_DVR1600_SaveResource_End,0x0d,0x0a
.CODE
.public _USER_DVR1600_SaveResource_End
_USER_DVR1600_SaveResource_End: .proc
.debug
.dw '.stabn 0x44,0,101,',0,0
.dd LM31-_USER_DVR1600_SaveResource_End
.dw 0x0d,0x0a
.code
LM31:
// total=0, vars=0
// frame_pointer_needed: 1
push bp to [sp]
bp=sp+1
R1=BP+3
.debug
.dw '.stabn 0x44,0,102,',0,0
.dd LM32-_USER_DVR1600_SaveResource_End
.dw 0x0d,0x0a
.code
LM32:
L22:
pop bp from [sp]
retf
.endp // end of USER_DVR1600_SaveResource_End
.debug
.dw '.stabf ',0,0
.dd LME5-_USER_DVR1600_SaveResource_End
.dw 0x0d,0x0a
.code
LME5:
.iram
.public _ResAddr
_ResAddr:
.dw 0
.external _Queue_Read
.external _PlayFlag
.external _Queue_Test
.external _Queue_Write
.end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -