📄 d12ci.asm
字号:
// GCC for SUNPLUS u'nSP version 1.0.8
// Command: D:\PROGRA~1\Sunplus\UNSPID~1\IDE162\cc1.exe D:\DOCUME~1\陈孝彬\LOCALS~1\Temp\ccWuaaaa.i -fkeep-inline-functions -quiet -dumpbase D12CI.c -gstabs -o .\Debug/D12CI.asm
// gcc2_compiled.:
.stabs "F:\\DXJH\\网站资料_release\\usb\\model2_0613_wdog_en\\061/", 0x64, 0, 3, Ltext0
.stabs "F:/DXJH/网站资料_release/usb/model2_0613_wdog_en/061/D12CI.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 "_flags:T20=s1bus_reset:4,0,1;suspend:4,1,1;\\",128,0,0,0',0x0d,0x0a
.DW '.stabs "setup_packet:4,2,1;remote_wakeup:4,3,1;\\",128,0,0,0',0x0d,0x0a
.DW '.stabs "in_isr:4,4,1;control_state:4,5,2;configuration:4,7,1;\\",128,0,0,0',0x0d,0x0a
.DW '.stabs "ep1_rxdone:4,8,1;ep2_rxdone:4,9,1;;",128,0,0,0',0x0d,0x0a
.CODE
.debug
.dw '.stabs "_epp_flags:T21=u1bits:20,0,16;;",128,0,0,0',0x0d,0x0a
.CODE
.debug
.dw '.stabs "EPPFLAGS:t22=21",128,0,0,0',0x0d,0x0a
.CODE
.debug
.dw '.stabs "_device_request:T23=s8bmRequestType:4,0,16;bRequest:4,16,16;\\",128,0,0,0',0x0d,0x0a
.DW '.stabs "wValue:5,32,32;wIndex:5,64,32;wLength:5,96,32;;",128,0,0,0',0x0d,0x0a
.CODE
.debug
.dw '.stabs "DEVICE_REQUEST:t24=23",128,0,0,0',0x0d,0x0a
.CODE
.debug
.dw '.stabs "_control_transfers:T25=s21DeviceRequest:24,0,128;wLength:5,128,32;\\",128,0,0,0',0x0d,0x0a
.DW '.stabs "wCount:5,160,32;pData:26=*4,192,16;dataBuffer:27=ar1;0;7;4,208,128;;",128,0,0,0',0x0d,0x0a
.CODE
.debug
.dw '.stabs "CONTROL_TRANSFERS:t28=25",128,0,0,0',0x0d,0x0a
.CODE
.code
.debug
.dw '.stabs "F_D12_SetAddressEnable:F19",36,0,0,',0,0,offset _F_D12_SetAddressEnable,seg _F_D12_SetAddressEnable,0x0d,0x0a
.CODE
.public _F_D12_SetAddressEnable
_F_D12_SetAddressEnable: .proc
.debug
.dw '.stabn 0x44,0,23,',0,0
.dd LM1-_F_D12_SetAddressEnable
.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,24,',0,0
.dd LM2-_F_D12_SetAddressEnable
.dw 0x0d,0x0a
.code
LM2:
R1=[_bEPPflags] // QImode move
R2=4 // QImode move
[SP--]=R2 // QImode move
[SP--]=R1 // QImode move
call __rshu1 // call with return value
SP=SP+2
R2=R1&1
CMP R2,0 // QImode test
JZ L6 // QImode NE
PC=L3
L6:
.debug
.dw '.stabn 0x44,0,25,',0,0
.dd LM3-_F_D12_SetAddressEnable
.dw 0x0d,0x0a
.code
LM3:
call _F_Interrupt_Off // call without return value
L3:
.debug
.dw '.stabn 0x44,0,26,',0,0
.dd LM4-_F_D12_SetAddressEnable
.dw 0x0d,0x0a
.code
LM4:
call _F_InitWriteD12 // call without return value
.debug
.dw '.stabn 0x44,0,27,',0,0
.dd LM5-_F_D12_SetAddressEnable
.dw 0x0d,0x0a
.code
LM5:
R1=208 // QImode move
[SP--]=R1 // QImode move
R1=(-253) // QImode move
[SP--]=R1 // QImode move
call _F_WriteCmdOrDataToD12 // call without return value
SP=SP+2
.debug
.dw '.stabn 0x44,0,28,',0,0
.dd LM6-_F_D12_SetAddressEnable
.dw 0x0d,0x0a
.code
LM6:
R1=[BP] // QImode move
R3=[BP] // QImode move
R2=R3+1
R3=R2 // QImode move
R1=[R3] // QImode move
CMP R1,0 // QImode test
JNZ L7 // QImode EQ
PC=L4
L7:
.debug
.dw '.stabn 0x44,0,29,',0,0
.dd LM7-_F_D12_SetAddressEnable
.dw 0x0d,0x0a
.code
LM7:
R2=[BP] // QImode move
R1=[R2] // QImode move
R2=R1|128
R3=[BP] // QImode move
[R3]=R2 // QImode move
L4:
.debug
.dw '.stabn 0x44,0,30,',0,0
.dd LM8-_F_D12_SetAddressEnable
.dw 0x0d,0x0a
.code
LM8:
R2=[BP] // QImode move
R1=[R2] // QImode move
[SP--]=R1 // QImode move
R1=(-254) // QImode move
[SP--]=R1 // QImode move
call _F_WriteCmdOrDataToD12 // call without return value
SP=SP+2
.debug
.dw '.stabn 0x44,0,31,',0,0
.dd LM9-_F_D12_SetAddressEnable
.dw 0x0d,0x0a
.code
LM9:
R1=[_bEPPflags] // QImode move
R2=4 // QImode move
[SP--]=R2 // QImode move
[SP--]=R1 // QImode move
call __rshu1 // call with return value
SP=SP+2
R2=R1&1
CMP R2,0 // QImode test
JZ L8 // QImode NE
PC=L5
L8:
.debug
.dw '.stabn 0x44,0,32,',0,0
.dd LM10-_F_D12_SetAddressEnable
.dw 0x0d,0x0a
.code
LM10:
call _F_Interrupt_On // call without return value
L5:
.debug
.dw '.stabn 0x44,0,33,',0,0
.dd LM11-_F_D12_SetAddressEnable
.dw 0x0d,0x0a
.code
LM11:
.debug
.dw '.stabn 0x44,0,33,',0,0
.dd LM12-_F_D12_SetAddressEnable
.dw 0x0d,0x0a
.code
LM12:
L2:
sp+=1
pop bp from [sp]
retf
.endp // end of F_D12_SetAddressEnable
.debug
.dw '.stabs "bAddress:p4",160,0,0,4',0x0d,0x0a
.CODE
.debug
.dw '.stabs "bEnable:p4",160,0,0,5',0x0d,0x0a
.CODE
.debug
.dw '.stabf ',0,0
.dd LME1-_F_D12_SetAddressEnable
.dw 0x0d,0x0a
.code
LME1:
.code
.debug
.dw '.stabs "F_D12_SetEndpointEnable:F19",36,0,0,',0,0,offset _F_D12_SetEndpointEnable,seg _F_D12_SetEndpointEnable,0x0d,0x0a
.CODE
.public _F_D12_SetEndpointEnable
_F_D12_SetEndpointEnable: .proc
.debug
.dw '.stabn 0x44,0,36,',0,0
.dd LM13-_F_D12_SetEndpointEnable
.dw 0x0d,0x0a
.code
LM13:
// 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,37,',0,0
.dd LM14-_F_D12_SetEndpointEnable
.dw 0x0d,0x0a
.code
LM14:
R1=[_bEPPflags] // QImode move
R2=4 // QImode move
[SP--]=R2 // QImode move
[SP--]=R1 // QImode move
call __rshu1 // call with return value
SP=SP+2
R2=R1&1
CMP R2,0 // QImode test
JZ L14 // QImode NE
PC=L10
L14:
.debug
.dw '.stabn 0x44,0,38,',0,0
.dd LM15-_F_D12_SetEndpointEnable
.dw 0x0d,0x0a
.code
LM15:
call _F_Interrupt_Off // call without return value
L10:
.debug
.dw '.stabn 0x44,0,39,',0,0
.dd LM16-_F_D12_SetEndpointEnable
.dw 0x0d,0x0a
.code
LM16:
call _F_InitWriteD12 // call without return value
.debug
.dw '.stabn 0x44,0,40,',0,0
.dd LM17-_F_D12_SetEndpointEnable
.dw 0x0d,0x0a
.code
LM17:
R1=216 // QImode move
[SP--]=R1 // QImode move
R1=(-253) // QImode move
[SP--]=R1 // QImode move
call _F_WriteCmdOrDataToD12 // call without return value
SP=SP+2
.debug
.dw '.stabn 0x44,0,41,',0,0
.dd LM18-_F_D12_SetEndpointEnable
.dw 0x0d,0x0a
.code
LM18:
R2=[BP] // QImode move
R1=[R2] // QImode move
CMP R1,0 // QImode test
JNZ L15 // QImode EQ
PC=L11
L15:
.debug
.dw '.stabn 0x44,0,42,',0,0
.dd LM19-_F_D12_SetEndpointEnable
.dw 0x0d,0x0a
.code
LM19:
R1=1 // QImode move
[SP--]=R1 // QImode move
R1=(-254) // QImode move
[SP--]=R1 // QImode move
call _F_WriteCmdOrDataToD12 // call without return value
SP=SP+2
pc=L12 // Indirect jump
L11:
.debug
.dw '.stabn 0x44,0,44,',0,0
.dd LM20-_F_D12_SetEndpointEnable
.dw 0x0d,0x0a
.code
LM20:
R1=1 // QImode move
[SP--]=R1 // QImode move
R1=(-254) // QImode move
[SP--]=R1 // QImode move
call _F_WriteCmdOrDataToD12 // call without return value
SP=SP+2
L12:
.debug
.dw '.stabn 0x44,0,45,',0,0
.dd LM21-_F_D12_SetEndpointEnable
.dw 0x0d,0x0a
.code
LM21:
R1=[_bEPPflags] // QImode move
R2=4 // QImode move
[SP--]=R2 // QImode move
[SP--]=R1 // QImode move
call __rshu1 // call with return value
SP=SP+2
R2=R1&1
CMP R2,0 // QImode test
JZ L16 // QImode NE
PC=L13
L16:
.debug
.dw '.stabn 0x44,0,46,',0,0
.dd LM22-_F_D12_SetEndpointEnable
.dw 0x0d,0x0a
.code
LM22:
call _F_Interrupt_On // call without return value
L13:
.debug
.dw '.stabn 0x44,0,47,',0,0
.dd LM23-_F_D12_SetEndpointEnable
.dw 0x0d,0x0a
.code
LM23:
.debug
.dw '.stabn 0x44,0,47,',0,0
.dd LM24-_F_D12_SetEndpointEnable
.dw 0x0d,0x0a
.code
LM24:
L9:
sp+=1
pop bp from [sp]
retf
.endp // end of F_D12_SetEndpointEnable
.debug
.dw '.stabs "bEnable:p4",160,0,0,4',0x0d,0x0a
.CODE
.debug
.dw '.stabf ',0,0
.dd LME2-_F_D12_SetEndpointEnable
.dw 0x0d,0x0a
.code
LME2:
.code
.debug
.dw '.stabs "F_D12_SetMode:F19",36,0,0,',0,0,offset _F_D12_SetMode,seg _F_D12_SetMode,0x0d,0x0a
.CODE
.public _F_D12_SetMode
_F_D12_SetMode: .proc
.debug
.dw '.stabn 0x44,0,49,',0,0
.dd LM25-_F_D12_SetMode
.dw 0x0d,0x0a
.code
LM25:
// 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,50,',0,0
.dd LM26-_F_D12_SetMode
.dw 0x0d,0x0a
.code
LM26:
call _F_InitWriteD12 // call without return value
.debug
.dw '.stabn 0x44,0,51,',0,0
.dd LM27-_F_D12_SetMode
.dw 0x0d,0x0a
.code
LM27:
R1=243 // QImode move
[SP--]=R1 // QImode move
R1=(-253) // QImode move
[SP--]=R1 // QImode move
call _F_WriteCmdOrDataToD12 // call without return value
SP=SP+2
.debug
.dw '.stabn 0x44,0,52,',0,0
.dd LM28-_F_D12_SetMode
.dw 0x0d,0x0a
.code
LM28:
R2=[BP] // QImode move
R1=[R2] // QImode move
[SP--]=R1 // QImode move
R1=(-254) // QImode move
[SP--]=R1 // QImode move
call _F_WriteCmdOrDataToD12 // call without return value
SP=SP+2
.debug
.dw '.stabn 0x44,0,53,',0,0
.dd LM29-_F_D12_SetMode
.dw 0x0d,0x0a
.code
LM29:
R1=[BP] // QImode move
R3=[BP] // QImode move
R2=R3+1
R3=R2 // QImode move
R1=[R3] // QImode move
[SP--]=R1 // QImode move
R1=(-254) // QImode move
[SP--]=R1 // QImode move
call _F_WriteCmdOrDataToD12 // call without return value
SP=SP+2
.debug
.dw '.stabn 0x44,0,54,',0,0
.dd LM30-_F_D12_SetMode
.dw 0x0d,0x0a
.code
LM30:
R1=[_bEPPflags] // QImode move
R2=4 // QImode move
[SP--]=R2 // QImode move
[SP--]=R1 // QImode move
call __rshu1 // call with return value
SP=SP+2
R2=R1&1
CMP R2,0 // QImode test
JZ L19 // QImode NE
PC=L18
L19:
.debug
.dw '.stabn 0x44,0,55,',0,0
.dd LM31-_F_D12_SetMode
.dw 0x0d,0x0a
.code
LM31:
call _F_Interrupt_On // call without return value
L18:
.debug
.dw '.stabn 0x44,0,57,',0,0
.dd LM32-_F_D12_SetMode
.dw 0x0d,0x0a
.code
LM32:
.debug
.dw '.stabn 0x44,0,57,',0,0
.dd LM33-_F_D12_SetMode
.dw 0x0d,0x0a
.code
LM33:
L17:
sp+=1
pop bp from [sp]
retf
.endp // end of F_D12_SetMode
.debug
.dw '.stabs "bConfig:p4",160,0,0,4',0x0d,0x0a
.CODE
.debug
.dw '.stabs "bClkDiv:p4",160,0,0,5',0x0d,0x0a
.CODE
.debug
.dw '.stabf ',0,0
.dd LME3-_F_D12_SetMode
.dw 0x0d,0x0a
.code
LME3:
.code
.debug
.dw '.stabs "F_D12_SetDMA:F19",36,0,0,',0,0,offset _F_D12_SetDMA,seg _F_D12_SetDMA,0x0d,0x0a
.CODE
.public _F_D12_SetDMA
_F_D12_SetDMA: .proc
.debug
.dw '.stabn 0x44,0,59,',0,0
.dd LM34-_F_D12_SetDMA
.dw 0x0d,0x0a
.code
LM34:
// 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,60,',0,0
.dd LM35-_F_D12_SetDMA
.dw 0x0d,0x0a
.code
LM35:
call _F_InitWriteD12 // call without return value
.debug
.dw '.stabn 0x44,0,61,',0,0
.dd LM36-_F_D12_SetDMA
.dw 0x0d,0x0a
.code
LM36:
R1=251 // QImode move
[SP--]=R1 // QImode move
R1=(-253) // QImode move
[SP--]=R1 // QImode move
call _F_WriteCmdOrDataToD12 // call without return value
SP=SP+2
.debug
.dw '.stabn 0x44,0,62,',0,0
.dd LM37-_F_D12_SetDMA
.dw 0x0d,0x0a
.code
LM37:
R2=[BP] // QImode move
R1=[R2] // QImode move
[SP--]=R1 // QImode move
R1=(-254) // QImode move
[SP--]=R1 // QImode move
call _F_WriteCmdOrDataToD12 // call without return value
SP=SP+2
.debug
.dw '.stabn 0x44,0,63,',0,0
.dd LM38-_F_D12_SetDMA
.dw 0x0d,0x0a
.code
LM38:
.debug
.dw '.stabn 0x44,0,63,',0,0
.dd LM39-_F_D12_SetDMA
.dw 0x0d,0x0a
.code
LM39:
L20:
sp+=1
pop bp from [sp]
retf
.endp // end of F_D12_SetDMA
.debug
.dw '.stabs "bMode:p4",160,0,0,4',0x0d,0x0a
.CODE
.debug
.dw '.stabf ',0,0
.dd LME4-_F_D12_SetDMA
.dw 0x0d,0x0a
.code
LME4:
.code
.debug
.dw '.stabs "F_D12_SetEndpointStatus:F19",36,0,0,',0,0,offset _F_D12_SetEndpointStatus,seg _F_D12_SetEndpointStatus,0x0d,0x0a
.CODE
.public _F_D12_SetEndpointStatus
_F_D12_SetEndpointStatus: .proc
.debug
.dw '.stabn 0x44,0,65,',0,0
.dd LM40-_F_D12_SetEndpointStatus
.dw 0x0d,0x0a
.code
LM40:
// 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,66,',0,0
.dd LM41-_F_D12_SetEndpointStatus
.dw 0x0d,0x0a
.code
LM41:
R1=[_bEPPflags] // QImode move
R2=4 // QImode move
[SP--]=R2 // QImode move
[SP--]=R1 // QImode move
call __rshu1 // call with return value
SP=SP+2
R2=R1&1
CMP R2,0 // QImode test
JZ L24 // QImode NE
PC=L22
L24:
.debug
.dw '.stabn 0x44,0,67,',0,0
.dd LM42-_F_D12_SetEndpointStatus
.dw 0x0d,0x0a
.code
LM42:
call _F_Interrupt_Off // call without return value
L22:
.debug
.dw '.stabn 0x44,0,68,',0,0
.dd LM43-_F_D12_SetEndpointStatus
.dw 0x0d,0x0a
.code
LM43:
call _F_InitWriteD12 // call without return value
.debug
.dw '.stabn 0x44,0,69,',0,0
.dd LM44-_F_D12_SetEndpointStatus
.dw 0x0d,0x0a
.code
LM44:
R3=[BP] // QImode move
R2=[R3] // QImode move
R1=R2+64
[SP--]=R1 // QImode move
R1=(-253) // QImode move
[SP--]=R1 // QImode move
call _F_WriteCmdOrDataToD12 // call without return value
SP=SP+2
.debug
.dw '.stabn 0x44,0,70,',0,0
.dd LM45-_F_D12_SetEndpointStatus
.dw 0x0d,0x0a
.code
LM45:
R1=[BP] // QImode move
R1=[BP] // QImode move
R2=R1+1
R3=R2 // QImode move
R1=[R3] // QImode move
[SP--]=R1 // QImode move
R1=(-254) // QImode move
[SP--]=R1 // QImode move
call _F_WriteCmdOrDataToD12 // call without return value
SP=SP+2
.debug
.dw '.stabn 0x44,0,71,',0,0
.dd LM46-_F_D12_SetEndpointStatus
.dw 0x0d,0x0a
.code
LM46:
R1=[_bEPPflags] // QImode move
R2=4 // QImode move
[SP--]=R2 // QImode move
[SP--]=R1 // QImode move
call __rshu1 // call with return value
SP=SP+2
R2=R1&1
CMP R2,0 // QImode test
JZ L25 // QImode NE
PC=L23
L25:
.debug
.dw '.stabn 0x44,0,72,',0,0
.dd LM47-_F_D12_SetEndpointStatus
.dw 0x0d,0x0a
.code
LM47:
call _F_Interrupt_On // call without return value
L23:
.debug
.dw '.stabn 0x44,0,73,',0,0
.dd LM48-_F_D12_SetEndpointStatus
.dw 0x0d,0x0a
.code
LM48:
.debug
.dw '.stabn 0x44,0,73,',0,0
.dd LM49-_F_D12_SetEndpointStatus
.dw 0x0d,0x0a
.code
LM49:
L21:
sp+=1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -