📄 dscr.lst
字号:
A51 MACRO ASSEMBLER DSCR 03/19/2007 15:27:12 PAGE 3
004B 02 124 db DSCR_CONFIG ;; Descriptor type
004C 2E 125 db (FullSpeedConfigDscrEnd-FullSpeedConfigDscr) mod 256 ;; Total Length (LSB)
004D 00 126 db (FullSpeedConfigDscrEnd-FullSpeedConfigDscr) / 256 ;; Total Length (MSB)
004E 01 127 db 1 ;; Number of interfaces
004F 01 128 db 1 ;; Configuration number
0050 00 129 db 0 ;; Configuration string
0051 80 130 db 10000000b ;; Attributes (b7 - buspwr, b6 - selfpwr, b5 - rwu)
0052 32 131 db 50 ;; Power requirement (div 2 ma)
132
133 ;; Interface Descriptor
0053 09 134 db DSCR_INTRFC_LEN ;; Descriptor length
0054 04 135 db DSCR_INTRFC ;; Descriptor type
0055 00 136 db 0 ;; Zero-based index of this interface
0056 00 137 db 0 ;; Alternate setting
0057 04 138 db 4 ;; Number of end points
0058 FF 139 db 0ffH ;; Interface class
0059 00 140 db 00H ;; Interface sub class
005A 00 141 db 00H ;; Interface sub sub class
005B 00 142 db 0 ;; Interface descriptor string index
143
144 ;; Endpoint Descriptor
005C 07 145 db DSCR_ENDPNT_LEN ;; Descriptor length
005D 05 146 db DSCR_ENDPNT ;; Descriptor type
005E 02 147 db 02H ;; Endpoint number, and direction
005F 02 148 db ET_BULK ;; Endpoint type
0060 40 149 db 40H ;; Maximun packet size (LSB)
0061 00 150 db 00H ;; Max packect size (MSB)
0062 00 151 db 00H ;; Polling interval
152
153 ;; Endpoint Descriptor
0063 07 154 db DSCR_ENDPNT_LEN ;; Descriptor length
0064 05 155 db DSCR_ENDPNT ;; Descriptor type
0065 04 156 db 04H ;; Endpoint number, and direction
0066 02 157 db ET_BULK ;; Endpoint type
0067 40 158 db 40H ;; Maximun packet size (LSB)
0068 00 159 db 00H ;; Max packect size (MSB)
0069 00 160 db 00H ;; Polling interval
161
162 ;; Endpoint Descriptor
006A 07 163 db DSCR_ENDPNT_LEN ;; Descriptor length
006B 05 164 db DSCR_ENDPNT ;; Descriptor type
006C 86 165 db 86H ;; Endpoint number, and direction
006D 02 166 db ET_BULK ;; Endpoint type
006E 40 167 db 40H ;; Maximun packet size (LSB)
006F 00 168 db 00H ;; Max packect size (MSB)
0070 00 169 db 00H ;; Polling interval
170
171 ;; Endpoint Descriptor
0071 07 172 db DSCR_ENDPNT_LEN ;; Descriptor length
0072 05 173 db DSCR_ENDPNT ;; Descriptor type
0073 88 174 db 88H ;; Endpoint number, and direction
0074 02 175 db ET_BULK ;; Endpoint type
0075 40 176 db 40H ;; Maximun packet size (LSB)
0076 00 177 db 00H ;; Max packect size (MSB)
0077 00 178 db 00H ;; Polling interval
179
0078 180 FullSpeedConfigDscrEnd:
181
0078 182 StringDscr:
183
0078 184 StringDscr0:
0078 04 185 db StringDscr0End-StringDscr0 ;; String descriptor length
0079 03 186 db DSCR_STRING
007A 0904 187 db 09H,04H
007C 188 StringDscr0End:
189
A51 MACRO ASSEMBLER DSCR 03/19/2007 15:27:12 PAGE 4
007C 190 StringDscr1:
007C 06 191 db StringDscr1End-StringDscr1 ;; String descriptor length
007D 03 192 db DSCR_STRING
007E 4600 193 db 'F',00
0080 4300 194 db 'C',00
0082 195 StringDscr1End:
196
0082 197 StringDscr2:
0082 08 198 db StringDscr2End-StringDscr2 ;; Descriptor length
0083 03 199 db DSCR_STRING
0084 4600 200 db 'F',00
0086 5800 201 db 'X',00
0088 3200 202 db '2',00
008A 203 StringDscr2End:
204
008A 205 UserDscr:
008A 0000 206 dw 0000H
207 end
A51 MACRO ASSEMBLER DSCR 03/19/2007 15:27:12 PAGE 5
SYMBOL TABLE LISTING
------ ----- -------
N A M E T Y P E V A L U E ATTRIBUTES
DEVICEDSCR . . . . . . C ADDR 0000H R SEG=DSCR
DEVICEQUALDSCR . . . . C ADDR 0012H R SEG=DSCR
DSCR . . . . . . . . . C SEG 008CH REL=PAGE
DSCR_CONFIG. . . . . . N NUMB 0002H A
DSCR_CONFIG_LEN. . . . N NUMB 0009H A
DSCR_DEVICE. . . . . . N NUMB 0001H A
DSCR_DEVICE_LEN. . . . N NUMB 0012H A
DSCR_DEVQUAL . . . . . N NUMB 0006H A
DSCR_DEVQUAL_LEN . . . N NUMB 000AH A
DSCR_ENDPNT. . . . . . N NUMB 0005H A
DSCR_ENDPNT_LEN. . . . N NUMB 0007H A
DSCR_INTRFC. . . . . . N NUMB 0004H A
DSCR_INTRFC_LEN. . . . N NUMB 0009H A
DSCR_STRING. . . . . . N NUMB 0003H A
ET_BULK. . . . . . . . N NUMB 0002H A
ET_CONTROL . . . . . . N NUMB 0000H A
ET_INT . . . . . . . . N NUMB 0003H A
ET_ISO . . . . . . . . N NUMB 0001H A
FULLSPEEDCONFIGDSCR. . C ADDR 004AH R SEG=DSCR
FULLSPEEDCONFIGDSCREND C ADDR 0078H R SEG=DSCR
HIGHSPEEDCONFIGDSCR. . C ADDR 001CH R SEG=DSCR
HIGHSPEEDCONFIGDSCREND C ADDR 004AH R SEG=DSCR
STRINGDSCR . . . . . . C ADDR 0078H R SEG=DSCR
STRINGDSCR0. . . . . . C ADDR 0078H R SEG=DSCR
STRINGDSCR0END . . . . C ADDR 007CH R SEG=DSCR
STRINGDSCR1. . . . . . C ADDR 007CH R SEG=DSCR
STRINGDSCR1END . . . . C ADDR 0082H R SEG=DSCR
STRINGDSCR2. . . . . . C ADDR 0082H R SEG=DSCR
STRINGDSCR2END . . . . C ADDR 008AH R SEG=DSCR
USERDSCR . . . . . . . C ADDR 008AH R SEG=DSCR
REGISTER BANK(S) USED: 0
ASSEMBLY COMPLETE. 0 WARNING(S), 0 ERROR(S)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -