📄 externint.asm
字号:
// GCC for SUNPLUS u'nSP version 1.0.10-10
// Command: C:\PROGRA~1\Sunplus\UNSPID~1\unSPIDE\cc1.exe C:\DOCUME~1\张向艳\LOCALS~1\Temp\ccwzaaaa.i -quiet -dumpbase ExternInt.c -gstabs -o .\Debug/ExternInt.asm
// gcc2_compiled.:
.stabs "E:\\usb\\061pc\\061_lib\\061_lib/", 0x64, 0, 3, Ltext0
.stabs "E:/usb/061pc/061_lib/061_lib/ExternInt.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
.debug
.dw '.stabs "UINT:t29=4",128,0,0,0',0x0d,0x0a
.CODE
.debug
.dw '.stabs "ULINt:t30=5",128,0,0,0',0x0d,0x0a
.CODE
.debug
.dw '.stabs "_USB_DEVICE_DESCRIPTOR:T31=s18bLength:29,0,16;bDescriptorType:29,16,16;\\",128,0,0,0',0x0d,0x0a
.DW '.stabs "bcdUSB:30,32,32;bDeviceClass:29,64,16;bDeviceSubClass:29,80,16;\\",128,0,0,0',0x0d,0x0a
.DW '.stabs "bDeviceProtocol:29,96,16;bMaxPacketSize0:29,112,16;\\",128,0,0,0',0x0d,0x0a
.DW '.stabs "idVendor:30,128,32;idProduct:30,160,32;bcdDevice:30,192,32;\\",128,0,0,0',0x0d,0x0a
.DW '.stabs "iManufacturer:29,224,16;iProduct:29,240,16;iSerialNumber:29,256,16;\\",128,0,0,0',0x0d,0x0a
.DW '.stabs "bNumConfigurations:29,272,16;;",128,0,0,0',0x0d,0x0a
.CODE
.debug
.dw '.stabs "USB_DEVICE_DESCRIPTOR:t32=31",128,0,0,0',0x0d,0x0a
.CODE
.debug
.dw '.stabs "PUSB_DEVICE_DESCRIPTOR:t33=34=*31",128,0,0,0',0x0d,0x0a
.CODE
.debug
.dw '.stabs "_USB_ENDPOINT_DESCRIPTOR:T35=s7bLength:29,0,16;bDescriptorType:29,16,16;\\",128,0,0,0',0x0d,0x0a
.DW '.stabs "bEndpointAddress:29,32,16;bmAttributes:29,48,16;\\",128,0,0,0',0x0d,0x0a
.DW '.stabs "wMaxPacketSize:30,64,32;bInterval:29,96,16;;",128,0,0,0',0x0d,0x0a
.CODE
.debug
.dw '.stabs "USB_ENDPOINT_DESCRIPTOR:t36=35",128,0,0,0',0x0d,0x0a
.CODE
.debug
.dw '.stabs "PUSB_ENDPOINT_DESCRIPTOR:t37=38=*35",128,0,0,0',0x0d,0x0a
.CODE
.debug
.dw '.stabs "_USB_CONFIGURATION_DESCRIPTOR:T39=s9bLength:29,0,16;\\",128,0,0,0',0x0d,0x0a
.DW '.stabs "bDescriptorType:29,16,16;wTotalLength:30,32,32;\\",128,0,0,0',0x0d,0x0a
.DW '.stabs "bNumInterfaces:29,64,16;bConfigurationValue:29,80,16;\\",128,0,0,0',0x0d,0x0a
.DW '.stabs "iConfiguration:29,96,16;bmAttributes:29,112,16;\\",128,0,0,0',0x0d,0x0a
.DW '.stabs "MaxPower:29,128,16;;",128,0,0,0',0x0d,0x0a
.CODE
.debug
.dw '.stabs "USB_CONFIGURATION_DESCRIPTOR:t40=39",128,0,0,0',0x0d,0x0a
.CODE
.debug
.dw '.stabs "PUSB_CONFIGURATION_DESCRIPTOR:t41=42=*39",128,0,0,0',0x0d,0x0a
.CODE
.debug
.dw '.stabs "_USB_INTERFACE_DESCRIPTOR:T43=s9bLength:29,0,16;bDescriptorType:29,16,16;\\",128,0,0,0',0x0d,0x0a
.DW '.stabs "bInterfaceNumber:29,32,16;bAlternateSetting:29,48,16;\\",128,0,0,0',0x0d,0x0a
.DW '.stabs "bNumEndpoints:29,64,16;bInterfaceClass:29,80,16;\\",128,0,0,0',0x0d,0x0a
.DW '.stabs "bInterfaceSubClass:29,96,16;bInterfaceProtocol:29,112,16;\\",128,0,0,0',0x0d,0x0a
.DW '.stabs "iInterface:29,128,16;;",128,0,0,0',0x0d,0x0a
.CODE
.debug
.dw '.stabs "USB_INTERFACE_DESCRIPTOR:t44=43",128,0,0,0',0x0d,0x0a
.CODE
.debug
.dw '.stabs "PUSB_INTERFACE_DESCRIPTOR:t45=46=*43",128,0,0,0',0x0d,0x0a
.CODE
.debug
.dw '.stabs "_USB_STRING_DESCRIPTOR:T47=s3bLength:29,0,16;bDescriptorType:29,16,16;\\",128,0,0,0',0x0d,0x0a
.DW '.stabs "bString:48=ar1;0;0;29,32,16;;",128,0,0,0',0x0d,0x0a
.CODE
.debug
.dw '.stabs "USB_STRING_DESCRIPTOR:t49=47",128,0,0,0',0x0d,0x0a
.CODE
.debug
.dw '.stabs "PUSB_STRING_DESCRIPTOR:t50=51=*47",128,0,0,0',0x0d,0x0a
.CODE
.debug
.dw '.stabs "_USB_POWER_DESCRIPTOR:T52=s18bLength:29,0,16;bDescriptorType:29,16,16;\\",128,0,0,0',0x0d,0x0a
.DW '.stabs "bCapabilitiesFlags:29,32,16;EventNotification:30,48,32;\\",128,0,0,0',0x0d,0x0a
.DW '.stabs "D1LatencyTime:30,80,32;D2LatencyTime:30,112,32;\\",128,0,0,0',0x0d,0x0a
.DW '.stabs "D3LatencyTime:30,144,32;PowerUnit:29,176,16;D0PowerConsumption:30,192,32;\\",128,0,0,0',0x0d,0x0a
.DW '.stabs "D1PowerConsumption:30,224,32;D2PowerConsumption:30,256,32;;",128,0,0,0',0x0d,0x0a
.CODE
.debug
.dw '.stabs "USB_POWER_DESCRIPTOR:t53=52",128,0,0,0',0x0d,0x0a
.CODE
.debug
.dw '.stabs "PUSB_POWER_DESCRIPTOR:t54=55=*52",128,0,0,0',0x0d,0x0a
.CODE
.debug
.dw '.stabs "_USB_COMMON_DESCRIPTOR:T56=s2bLength:29,0,16;bDescriptorType:29,16,16;;",128,0,0,0',0x0d,0x0a
.CODE
.debug
.dw '.stabs "USB_COMMON_DESCRIPTOR:t57=56",128,0,0,0',0x0d,0x0a
.CODE
.debug
.dw '.stabs "PUSB_COMMON_DESCRIPTOR:t58=59=*56",128,0,0,0',0x0d,0x0a
.CODE
.debug
.dw '.stabs "_USB_HUB_DESCRIPTOR:T60=s71bDescriptorLength:29,0,16;\\",128,0,0,0',0x0d,0x0a
.DW '.stabs "bDescriptorType:29,16,16;bNumberOfPorts:29,32,16;\\",128,0,0,0',0x0d,0x0a
.DW '.stabs "wHubCharacteristics:30,48,32;bPowerOnToPowerGood:29,80,16;\\",128,0,0,0',0x0d,0x0a
.DW '.stabs "bHubControlCurrent:29,96,16;bRemoveAndPowerMask:61=ar1;0;63;29,112,1024;;",128,0,0,0',0x0d,0x0a
.CODE
.debug
.dw '.stabs "USB_HUB_DESCRIPTOR:t62=60",128,0,0,0',0x0d,0x0a
.CODE
.debug
.dw '.stabs "PUSB_HUB_DESCRIPTOR:t63=64=*60",128,0,0,0',0x0d,0x0a
.CODE
.debug
.dw '.stabs "OneRecByteNum:G4",32,0,0,',0,0,offset _OneRecByteNum,seg _OneRecByteNum,0x0d,0x0a
.CODE
.public _OneRecByteNum
.iram
_OneRecByteNum:
.dw 0
.code
.debug
.dw '.stabs "F_USB_Isr:F19",36,0,0,',0,0,offset _F_USB_Isr,seg _F_USB_Isr,0x0d,0x0a
.CODE
.public _F_USB_Isr
_F_USB_Isr: .proc
.debug
.dw '.stabn 0x44,0,47,',0,0
.dd LM1-_F_USB_Isr
.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,48,',0,0
.dd LM2-_F_USB_Isr
.dw 0x0d,0x0a
.code
LM2:
R1=[_bEPPflags] // QImode move
R2=16 // QImode move
[_bEPPflags]=R1|R2
.debug
.dw '.stabn 0x44,0,49,',0,0
.dd LM3-_F_USB_Isr
.dw 0x0d,0x0a
.code
LM3:
call _F_D12_ReadInterruptRegister // call with return value
[_i_st]=R1 // QImode move
.debug
.dw '.stabn 0x44,0,50,',0,0
.dd LM4-_F_USB_Isr
.dw 0x0d,0x0a
.code
LM4:
R1=[_i_st] // QImode move
CMP R1,0 // QImode test
JNZ L13 // QImode EQ
PC=L3
L13:
.debug
.dw '.stabn 0x44,0,52,',0,0
.dd LM5-_F_USB_Isr
.dw 0x0d,0x0a
.code
LM5:
R2=[_i_st] // QImode move
R1=R2&64
CMP R1,0 // QImode test
JNZ L14 // QImode EQ
PC=L4
L14:
.debug
.dw '.stabn 0x44,0,54,',0,0
.dd LM6-_F_USB_Isr
.dw 0x0d,0x0a
.code
LM6:
R1=[_bEPPflags] // QImode move
R2=1 // QImode move
[_bEPPflags]=R1|R2
L4:
.debug
.dw '.stabn 0x44,0,56,',0,0
.dd LM7-_F_USB_Isr
.dw 0x0d,0x0a
.code
LM7:
R2=[_i_st] // QImode move
R1=R2&256
CMP R1,0 // QImode test
JNZ L15 // QImode EQ
PC=L5
L15:
.debug
.dw '.stabn 0x44,0,58,',0,0
.dd LM8-_F_USB_Isr
.dw 0x0d,0x0a
.code
LM8:
call _F_DMA_Eot // call without return value
L5:
.debug
.dw '.stabn 0x44,0,60,',0,0
.dd LM9-_F_USB_Isr
.dw 0x0d,0x0a
.code
LM9:
R2=[_i_st] // QImode move
R1=R2&128
CMP R1,0 // QImode test
JNZ L16 // QImode EQ
PC=L6
L16:
.debug
.dw '.stabn 0x44,0,62,',0,0
.dd LM10-_F_USB_Isr
.dw 0x0d,0x0a
.code
LM10:
R1=[_bEPPflags] // QImode move
R2=2 // QImode move
[_bEPPflags]=R1|R2
L6:
.debug
.dw '.stabn 0x44,0,64,',0,0
.dd LM11-_F_USB_Isr
.dw 0x0d,0x0a
.code
LM11:
R2=[_i_st] // QImode move
R1=R2&2
CMP R1,0 // QImode test
JNZ L17 // QImode EQ
PC=L7
L17:
.debug
.dw '.stabn 0x44,0,66,',0,0
.dd LM12-_F_USB_Isr
.dw 0x0d,0x0a
.code
LM12:
call _F_Ep0_TxDone // call without return value
L7:
.debug
.dw '.stabn 0x44,0,68,',0,0
.dd LM13-_F_USB_Isr
.dw 0x0d,0x0a
.code
LM13:
R2=[_i_st] // QImode move
R1=R2&1
CMP R1,0 // QImode test
JNZ L18 // QImode EQ
PC=L8
L18:
.debug
.dw '.stabn 0x44,0,70,',0,0
.dd LM14-_F_USB_Isr
.dw 0x0d,0x0a
.code
LM14:
call _F_Ep0_RxDone // call without return value
L8:
.debug
.dw '.stabn 0x44,0,73,',0,0
.dd LM15-_F_USB_Isr
.dw 0x0d,0x0a
.code
LM15:
R2=[_i_st] // QImode move
R1=R2&8
CMP R1,0 // QImode test
JNZ L19 // QImode EQ
PC=L9
L19:
.debug
.dw '.stabn 0x44,0,75,',0,0
.dd LM16-_F_USB_Isr
.dw 0x0d,0x0a
.code
LM16:
call _F_Ep1_TxDone // call without return value
L9:
.debug
.dw '.stabn 0x44,0,77,',0,0
.dd LM17-_F_USB_Isr
.dw 0x0d,0x0a
.code
LM17:
R2=[_i_st] // QImode move
R1=R2&4
CMP R1,0 // QImode test
JNZ L20 // QImode EQ
PC=L10
L20:
.debug
.dw '.stabn 0x44,0,79,',0,0
.dd LM18-_F_USB_Isr
.dw 0x0d,0x0a
.code
LM18:
call _F_Ep1_RxDone // call without return value
L10:
.debug
.dw '.stabn 0x44,0,81,',0,0
.dd LM19-_F_USB_Isr
.dw 0x0d,0x0a
.code
LM19:
R2=[_i_st] // QImode move
R1=R2&32
CMP R1,0 // QImode test
JNZ L21 // QImode EQ
PC=L11
L21:
.debug
.dw '.stabn 0x44,0,83,',0,0
.dd LM20-_F_USB_Isr
.dw 0x0d,0x0a
.code
LM20:
call _F_Main_TxDone // call without return value
L11:
.debug
.dw '.stabn 0x44,0,86,',0,0
.dd LM21-_F_USB_Isr
.dw 0x0d,0x0a
.code
LM21:
R2=[_i_st] // QImode move
R1=R2&16
CMP R1,0 // QImode test
JNZ L22 // QImode EQ
PC=L3
L22:
.debug
.dw '.stabn 0x44,0,88,',0,0
.dd LM22-_F_USB_Isr
.dw 0x0d,0x0a
.code
LM22:
call _F_Main_RxDone // call without return value
L12:
L3:
.debug
.dw '.stabn 0x44,0,91,',0,0
.dd LM23-_F_USB_Isr
.dw 0x0d,0x0a
.code
LM23:
R1=[_bEPPflags] // QImode move
R2=(-17) // QImode move
[_bEPPflags]=R1&R2
.debug
.dw '.stabn 0x44,0,92,',0,0
.dd LM24-_F_USB_Isr
.dw 0x0d,0x0a
.code
LM24:
.debug
.dw '.stabn 0x44,0,92,',0,0
.dd LM25-_F_USB_Isr
.dw 0x0d,0x0a
.code
LM25:
L2:
sp+=1
pop bp from [sp]
retf
.endp // end of F_USB_Isr
.debug
.dw '.stabf ',0,0
.dd LME1-_F_USB_Isr
.dw 0x0d,0x0a
.code
LME1:
.code
.debug
.dw '.stabs "F_DMA_Eot:F19",36,0,0,',0,0,offset _F_DMA_Eot,seg _F_DMA_Eot,0x0d,0x0a
.CODE
.public _F_DMA_Eot
_F_DMA_Eot: .proc
.debug
.dw '.stabn 0x44,0,101,',0,0
.dd LM26-_F_DMA_Eot
.dw 0x0d,0x0a
.code
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -