⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dscr.lst

📁 psoc_usb的代码,用来小卡测试的.没事下下来
💻 LST
📖 第 1 页 / 共 2 页
字号:
004A 09              131           db   DSCR_CONFIG_LEN               ;; Descriptor length
004B 02              132           db   DSCR_CONFIG                  ;; Descriptor type
004C 2E              133           db   (FullSpeedConfigDscrEnd-FullSpeedConfigDscr) mod 256 ;; Total Length (LSB)
004D 00              134           db   (FullSpeedConfigDscrEnd-FullSpeedConfigDscr)  /  256 ;; Total Length (MSB)
004E 01              135           db   1      ;; Number of interfaces
004F 01              136           db   1      ;; Configuration number
0050 00              137           db   0      ;; Configuration string
0051 80              138           db   10000000b   ;; Attributes (b7 - buspwr, b6 - selfpwr, b5 - rwu)
0052 32              139           db   50      ;; Power requirement (div 2 ma)
                     140     
                     141     ;; Interface Descriptor
0053 09              142           db   DSCR_INTRFC_LEN      ;; Descriptor length
0054 04              143           db   DSCR_INTRFC         ;; Descriptor type
0055 00              144           db   0               ;; Zero-based index of this interface
0056 00              145           db   0               ;; Alternate setting
0057 04              146           db   4               ;; Number of end points 
0058 FF              147           db   0ffH            ;; Interface class
0059 00              148           db   00H               ;; Interface sub class
005A 00              149           db   00H               ;; Interface sub sub class
005B 00              150           db   0               ;; Interface descriptor string index
                     151           
                     152     ;; Endpoint Descriptor
005C 07              153           db   DSCR_ENDPNT_LEN      ;; Descriptor length
005D 05              154           db   DSCR_ENDPNT         ;; Descriptor type
005E 02              155           db   02H               ;; Endpoint number, and direction
005F 02              156           db   ET_BULK            ;; Endpoint type
0060 40              157           db   40H               ;; Maximun packet size (LSB)
0061 00              158           db   00H               ;; Max packect size (MSB)
0062 00              159           db   00H               ;; Polling interval
                     160     
                     161     ;; Endpoint Descriptor
0063 07              162           db   DSCR_ENDPNT_LEN      ;; Descriptor length
0064 05              163           db   DSCR_ENDPNT         ;; Descriptor type
0065 04              164           db   04H               ;; Endpoint number, and direction
0066 02              165           db   ET_BULK            ;; Endpoint type
0067 40              166           db   40H               ;; Maximun packet size (LSB)
0068 00              167           db   00H               ;; Max packect size (MSB)
0069 00              168           db   00H               ;; Polling interval
                     169     
                     170     ;; Endpoint Descriptor
006A 07              171           db   DSCR_ENDPNT_LEN      ;; Descriptor length
006B 05              172           db   DSCR_ENDPNT         ;; Descriptor type
006C 86              173           db   86H               ;; Endpoint number, and direction
006D 02              174           db   ET_BULK            ;; Endpoint type
006E 40              175           db   40H               ;; Maximun packet size (LSB)
006F 00              176           db   00H               ;; Max packect size (MSB)
0070 00              177           db   00H               ;; Polling interval
                     178     
                     179     ;; Endpoint Descriptor
0071 07              180           db   DSCR_ENDPNT_LEN      ;; Descriptor length
0072 05              181           db   DSCR_ENDPNT         ;; Descriptor type
0073 88              182           db   88H               ;; Endpoint number, and direction
0074 02              183           db   ET_BULK            ;; Endpoint type
0075 40              184           db   40H               ;; Maximun packet size (LSB)
0076 00              185           db   00H               ;; Max packect size (MSB)
0077 00              186           db   00H               ;; Polling interval
                     187     
0078                 188     FullSpeedConfigDscrEnd:   
A51 MACRO ASSEMBLER  DSCR                                                                 01/31/2008 22:24:27 PAGE     4

                     189     
0078                 190     StringDscr:
                     191     
0078                 192     StringDscr0:   
0078 04              193           db   StringDscr0End-StringDscr0      ;; String descriptor length
0079 03              194           db   DSCR_STRING
007A 0904            195           db   09H,04H
007C                 196     StringDscr0End:
                     197     
007C                 198     StringDscr1:   
007C 1C              199           db   StringDscr1End-StringDscr1      ;; String descriptor length
007D 03              200           db   DSCR_STRING
007E 4900            201           db   'I',00
0080 6E00            202           db   'n',00
0082 7600            203           db   'v',00
0084 6500            204           db   'e',00
0086 6E00            205           db   'n',00
0088 7400            206           db   't',00
008A 6500            207           db   'e',00
008C 6300            208           db   'c',00
008E 2800            209           db   '(',00
0090 4900            210           db   'I',00
0092 5400            211           db   'T',00
0094 4300            212           db   'C',00
0096 2900            213           db   ')',00
0098                 214     StringDscr1End:
                     215     
0098                 216     StringDscr2:   
0098 0A              217           db   StringDscr2End-StringDscr2      ;; Descriptor length
0099 03              218           db   DSCR_STRING
009A 5000            219           db   'P',00
009C 5300            220           db   'S',00
009E 6F00            221           db   'o',00
00A0 4300            222           db   'C',00
00A2                 223     StringDscr2End:
                     224     
00A2                 225     UserDscr:      
00A2 0000            226           dw   0000H
                     227           end
                                   
A51 MACRO ASSEMBLER  DSCR                                                                 01/31/2008 22:24:27 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    00A4H       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   0098H   R   SEG=DSCR
STRINGDSCR2. . . . . .  C ADDR   0098H   R   SEG=DSCR
STRINGDSCR2END . . . .  C ADDR   00A2H   R   SEG=DSCR
USERDSCR . . . . . . .  C ADDR   00A2H   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 + -