📄 dscr.lst
字号:
0036 02 124 db DSCR_CONFIG ;; Descriptor type
0037 19 125 db (FullSpeedConfigDscrEnd-FullSpeedConfigDscr) mod 256 ;; Total Length (LSB)
0038 00 126 db (FullSpeedConfigDscrEnd-FullSpeedConfigDscr) / 256 ;; Total Length (MSB)
0039 01 127 db 1 ;; Number of interfaces
003A 01 128 db 1 ;; Configuration number
003B 00 129 db 0 ;; Configuration string
003C 80 130 db 10000000b ;; Attributes (b7 - buspwr, b6 - selfpwr, b5 - rwu)
003D 32 131 db 50 ;; Power requirement (div 2 ma)
132
133 ;; Interface Descriptor
003E 09 134 db DSCR_INTRFC_LEN ;; Descriptor length
003F 04 135 db DSCR_INTRFC ;; Descriptor type
0040 00 136 db 0 ;; Zero-based index of this interface
0041 00 137 db 0 ;; Alternate setting
0042 01 138 db 1 ;; Number of end points
0043 FF 139 db 0ffH ;; Interface class
0044 00 140 db 00H ;; Interface sub class
0045 00 141 db 00H ;; Interface sub sub class
0046 00 142 db 0 ;; Interface descriptor string index
143
144 ;; Endpoint Descriptor
0047 07 145 db DSCR_ENDPNT_LEN ;; Descriptor length
0048 05 146 db DSCR_ENDPNT ;; Descriptor type
0049 02 147 db 02H ;; Endpoint number, and direction
004A 02 148 db ET_BULK ;; Endpoint type
004B 40 149 db 40H ;; Maximun packet size (LSB)
004C 00 150 db 00H ;; Max packect size (MSB)
004D 00 151 db 00H ;; Polling interval
152
153 ;; Endpoint Descriptor
154 ; db DSCR_ENDPNT_LEN ;; Descriptor length
155 ; db DSCR_ENDPNT ;; Descriptor type
156 ; db 04H ;; Endpoint number, and direction
157 ; db ET_BULK ;; Endpoint type
158 ; db 40H ;; Maximun packet size (LSB)
159 ; db 00H ;; Max packect size (MSB)
160 ; db 00H ;; Polling interval
161
162 ;; Endpoint Descriptor
163 ; db DSCR_ENDPNT_LEN ;; Descriptor length
164 ; db DSCR_ENDPNT ;; Descriptor type
165 ; db 86H ;; Endpoint number, and direction
166 ; db ET_BULK ;; Endpoint type
167 ; db 40H ;; Maximun packet size (LSB)
168 ; db 00H ;; Max packect size (MSB)
169 ; db 00H ;; Polling interval
170
171 ;; Endpoint Descriptor
172 ; db DSCR_ENDPNT_LEN ;; Descriptor length
173 ; db DSCR_ENDPNT ;; Descriptor type
174 ; db 88H ;; Endpoint number, and direction
175 ; db ET_BULK ;; Endpoint type
176 ; db 40H ;; Maximun packet size (LSB)
177 ; db 00H ;; Max packect size (MSB)
178 ; db 00H ;; Polling interval
179
004E 180 FullSpeedConfigDscrEnd:
181
004E 182 StringDscr:
183
004E 184 StringDscr0:
004E 04 185 db StringDscr0End-StringDscr0 ;; String descriptor length
004F 03 186 db DSCR_STRING
0050 0904 187 db 09H,04H
0052 188 StringDscr0End:
189
A51 MACRO ASSEMBLER DSCR 07/03/2006 21:50:28 PAGE 4
0052 190 StringDscr1:
0052 10 191 db StringDscr1End-StringDscr1 ;; String descriptor length
0053 03 192 db DSCR_STRING
0054 5900 193 db 'Y',00
0056 4300 194 db 'C',00
0058 4C00 195 db 'L',00
005A 5400 196 db 'T',00
005C 6500 197 db 'e',00
005E 6300 198 db 'c',00
0060 6800 199 db 'h',00
0062 200 StringDscr1End:
201
0062 202 StringDscr2:
0062 08 203 db StringDscr2End-StringDscr2 ;; Descriptor length
0063 03 204 db DSCR_STRING
0064 4600 205 db 'F',00
0066 5800 206 db 'X',00
0068 3200 207 db '2',00
006A 208 StringDscr2End:
209
006A 210 UserDscr:
006A 0000 211 dw 0000H
212 end
A51 MACRO ASSEMBLER DSCR 07/03/2006 21:50:28 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 006CH 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 0035H R SEG=DSCR
FULLSPEEDCONFIGDSCREND C ADDR 004EH R SEG=DSCR
HIGHSPEEDCONFIGDSCR. . C ADDR 001CH R SEG=DSCR
HIGHSPEEDCONFIGDSCREND C ADDR 0035H R SEG=DSCR
STRINGDSCR . . . . . . C ADDR 004EH R SEG=DSCR
STRINGDSCR0. . . . . . C ADDR 004EH R SEG=DSCR
STRINGDSCR0END . . . . C ADDR 0052H R SEG=DSCR
STRINGDSCR1. . . . . . C ADDR 0052H R SEG=DSCR
STRINGDSCR1END . . . . C ADDR 0062H R SEG=DSCR
STRINGDSCR2. . . . . . C ADDR 0062H R SEG=DSCR
STRINGDSCR2END . . . . C ADDR 006AH R SEG=DSCR
USERDSCR . . . . . . . C ADDR 006AH 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 + -