📄 dscr.lst
字号:
005C 01 142 db 1 ;; Number of interfaces
005D 01 143 db 1 ;; Configuration number
005E 00 144 db 0 ;; Configuration string
005F 80 145 db 10000000b ;; Attributes (b7 - buspwr, b6 - selfpwr, b5 - rwu)
0060 64 146 db 100 ;; Power requirement (div 2 ma)
147
148 ;; Interface Descriptor
0061 09 149 db DSCR_INTRFC_LEN ;; Descriptor length
0062 04 150 db DSCR_INTRFC ;; Descriptor type
0063 00 151 db 0 ;; Zero-based index of this interface
0064 00 152 db 0 ;; Alternate setting
0065 06 153 db 6 ;; Number of end points
0066 FF 154 db 0ffH ;; Interface class
0067 00 155 db 00H ;; Interface sub class
0068 00 156 db 00H ;; Interface sub sub class
0069 00 157 db 0 ;; Interface descriptor string index
158
159 ;; Endpoint Descriptor
006A 07 160 db DSCR_ENDPNT_LEN ;; Descriptor length
006B 05 161 db DSCR_ENDPNT ;; Descriptor type
006C 02 162 db 02H ;; Endpoint number, and direction
006D 02 163 db ET_BULK ;; Endpoint type
006E 40 164 db 40H ;; Maximun packet size (LSB)
006F 00 165 db 00H ;; Max packect size (MSB)
0070 00 166 db 00H ;; Polling interval
167
168 ;; Endpoint Descriptor
0071 07 169 db DSCR_ENDPNT_LEN ;; Descriptor length
0072 05 170 db DSCR_ENDPNT ;; Descriptor type
0073 04 171 db 04H ;; Endpoint number, and direction
0074 02 172 db ET_BULK ;; Endpoint type
0075 40 173 db 40H ;; Maximun packet size (LSB)
0076 00 174 db 00H ;; Max packect size (MSB)
0077 00 175 db 00H ;; Polling interval
176
177 ;; Endpoint Descriptor
0078 07 178 db DSCR_ENDPNT_LEN ;; Descriptor length
0079 05 179 db DSCR_ENDPNT ;; Descriptor type
007A 86 180 db 86H ;; Endpoint number, and direction
007B 02 181 db ET_BULK ;; Endpoint type
007C 40 182 db 40H ;; Maximun packet size (LSB)
007D 00 183 db 00H ;; Max packect size (MSB)
007E 00 184 db 00H ;; Polling interval
185
186 ;; Endpoint Descriptor
007F 07 187 db DSCR_ENDPNT_LEN ;; Descriptor length
0080 05 188 db DSCR_ENDPNT ;; Descriptor type
A51 MACRO ASSEMBLER DSCR 07/31/2007 11:33:28 PAGE 4
0081 88 189 db 88H ;; Endpoint number, and direction
0082 02 190 db ET_BULK ;; Endpoint type
0083 40 191 db 40H ;; Maximun packet size (LSB)
0084 00 192 db 00H ;; Max packect size (MSB)
0085 00 193 db 00H ;; Polling interval
194
195 ;;Endpoint Descriptor mydefined 1 out
0086 07 196 db DSCR_ENDPNT_LEN
0087 05 197 db DSCR_ENDPNT
0088 01 198 db 01H ;;PC->device
0089 02 199 db ET_BULK
008A 40 200 db 40H
008B 00 201 db 00H
008C 00 202 db 00H
203
204 ;;Endpoint Descriptor mydefined 1 in
008D 07 205 db DSCR_ENDPNT_LEN
008E 05 206 db DSCR_ENDPNT
008F 81 207 db 81H ;;device->PC
0090 02 208 db ET_BULK
0091 40 209 db 40H
0092 00 210 db 00H
0093 00 211 db 00H
212
0094 213 FullSpeedConfigDscrEnd:
214
0094 215 StringDscr:
216
0094 217 StringDscr0:
0094 04 218 db StringDscr0End-StringDscr0 ;; String descriptor length
0095 03 219 db DSCR_STRING
0096 0904 220 db 09H,04H
0098 221 StringDscr0End:
222
0098 223 StringDscr1:
0098 10 224 db StringDscr1End-StringDscr1 ;; String descriptor length
0099 03 225 db DSCR_STRING
009A 4300 226 db 'C',00
009C 7900 227 db 'y',00
009E 7000 228 db 'p',00
00A0 7200 229 db 'r',00
00A2 6500 230 db 'e',00
00A4 7300 231 db 's',00
00A6 7300 232 db 's',00
00A8 233 StringDscr1End:
234
00A8 235 StringDscr2:
00A8 0E 236 db StringDscr2End-StringDscr2 ;; Descriptor length
00A9 03 237 db DSCR_STRING
00AA 4500 238 db 'E',00
00AC 5A00 239 db 'Z',00
00AE 2D00 240 db '-',00
00B0 5500 241 db 'U',00
00B2 5300 242 db 'S',00
00B4 4200 243 db 'B',00
00B6 244 StringDscr2End:
245
00B6 246 UserDscr:
00B6 0000 247 dw 0000H
248 end
A51 MACRO ASSEMBLER DSCR 07/31/2007 11:33: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 00B8H 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 0058H R SEG=DSCR
FULLSPEEDCONFIGDSCREND C ADDR 0094H R SEG=DSCR
HIGHSPEEDCONFIGDSCR. . C ADDR 001CH R SEG=DSCR
HIGHSPEEDCONFIGDSCREND C ADDR 0058H R SEG=DSCR
STRINGDSCR . . . . . . C ADDR 0094H R SEG=DSCR
STRINGDSCR0. . . . . . C ADDR 0094H R SEG=DSCR
STRINGDSCR0END . . . . C ADDR 0098H R SEG=DSCR
STRINGDSCR1. . . . . . C ADDR 0098H R SEG=DSCR
STRINGDSCR1END . . . . C ADDR 00A8H R SEG=DSCR
STRINGDSCR2. . . . . . C ADDR 00A8H R SEG=DSCR
STRINGDSCR2END . . . . C ADDR 00B6H R SEG=DSCR
USERDSCR . . . . . . . C ADDR 00B6H 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 + -