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

📄 startup.lst

📁 linux下数据下载器的设计与实现
💻 LST
📖 第 1 页 / 共 5 页
字号:
 0220               +1  547     IN0BUF_USBVECT     equ  (USB_AUTO_VEC + 20h)
 0224               +1  548     OUT0BUF_USBVECT    equ  (USB_AUTO_VEC + 24h)
 0228               +1  549     IN1BUF_USBVECT     equ  (USB_AUTO_VEC + 28h)
 022C               +1  550     OUT1BUF_USBVECT    equ  (USB_AUTO_VEC + 2ch)
 0230               +1  551     INOUT2BUF_USBVECT  equ  (USB_AUTO_VEC + 30h)
 0234               +1  552     INOUT4BUF_USBVECT  equ  (USB_AUTO_VEC + 34h)
 0238               +1  553     INOUT6BUF_USBVECT  equ  (USB_AUTO_VEC + 38h)
 023C               +1  554     INOUT8BUF_USBVECT  equ  (USB_AUTO_VEC + 3ch)
 0240               +1  555     IBN_USBVECT        equ  (USB_AUTO_VEC + 40h)
 0244               +1  556     SPARE1_USBVECT     equ  (USB_AUTO_VEC + 44h)
 0248               +1  557     EP0PINGNAK_USBVECT equ  (USB_AUTO_VEC + 48h)
 024C               +1  558     EP1PINGNAK_USBVECT equ  (USB_AUTO_VEC + 4ch)
 0250               +1  559     EP2PINGNAK_USBVECT equ  (USB_AUTO_VEC + 50h)
 0254               +1  560     EP4PINGNAK_USBVECT equ  (USB_AUTO_VEC + 54h)
 0258               +1  561     EP6PINGNAK_USBVECT equ  (USB_AUTO_VEC + 58h)
 025C               +1  562     EP8PINGNAK_USBVECT equ  (USB_AUTO_VEC + 5ch)
 0260               +1  563     ERRLIM_USBVECT     equ  (USB_AUTO_VEC + 60h)
 0264               +1  564     SPARE2_USBVECT     equ  (USB_AUTO_VEC + 64h)
 0268               +1  565     SPARE3_USBVECT     equ  (USB_AUTO_VEC + 68h)
 026C               +1  566     SPARE4_USBVECT     equ  (USB_AUTO_VEC + 6ch)
 0270               +1  567     EP2PIDERR_USBVECT  equ  (USB_AUTO_VEC + 70h)
 0274               +1  568     EP4PIDERR_USBVECT  equ  (USB_AUTO_VEC + 74h)
 0278               +1  569     EP6PIDERR_USBVECT  equ  (USB_AUTO_VEC + 78h)
 027C               +1  570     EP8PIDERR_USBVECT  equ  (USB_AUTO_VEC + 7ch)
                    +1  571     
 0280               +1  572     EP2PF_VECT         equ  (GPIF_AUTO_VEC + 00h)
 0284               +1  573     EP4PF_VECT         equ  (GPIF_AUTO_VEC + 04h)
 0288               +1  574     EP6PF_VECT         equ  (GPIF_AUTO_VEC + 08h)
 028C               +1  575     EP8PF_VECT         equ  (GPIF_AUTO_VEC + 0ch)
 0290               +1  576     EP2EF_VECT         equ  (GPIF_AUTO_VEC + 10h)
 0294               +1  577     EP4EF_VECT         equ  (GPIF_AUTO_VEC + 14h)
 0298               +1  578     EP6EF_VECT         equ  (GPIF_AUTO_VEC + 18h)
 029C               +1  579     EP8EF_VECT         equ  (GPIF_AUTO_VEC + 1ch)
 02A0               +1  580     EP2FF_VECT         equ  (GPIF_AUTO_VEC + 20h)
 02A4               +1  581     EP4FF_VECT         equ  (GPIF_AUTO_VEC + 24h)
 02A8               +1  582     EP6FF_VECT         equ  (GPIF_AUTO_VEC + 28h)
 02AC               +1  583     EP8FF_VECT         equ  (GPIF_AUTO_VEC + 2ch)
 02B0               +1  584     GPIFDONE_VECT      equ  (GPIF_AUTO_VEC + 30h)
AX51 MACRO ASSEMBLER  STARTUP                                                               10/12/07 16:09:52 PAGE    10

 02B4               +1  585     GPIFWF             equ  (GPIF_AUTO_VEC + 34h)
                    +1  586     
                    +1  587     $endif  
                    +1  588     
                    +1  589     
                        590     
                        591     ;
                        592     ;  User-defined Power-On Initialization of Memory
                        593     ;
                        594     ;  With the following EQU statements the initialization of memory
                        595     ;  at processor reset can be defined:
                        596     ;
                        597     ;  the absolute start-address of IDATA memory is always 0
                        598     
 0200                   599     IDATALEN        EQU     200H    ; the length of IDATA memory in bytes.
                        600     ;
 0000                   601     XDATASTART      EQU     0H      ; the absolute start-address of XDATA memory
 0000                   602     XDATALEN        EQU     0H      ; the length of XDATA memory in bytes.
                        603     ;
 0000                   604     PDATASTART      EQU     0H      ; the absolute start-address of PDATA memory
 0000                   605     PDATALEN        EQU     0H      ; the length of PDATA memory in bytes.
                        606     ;
                        607     ;  Notes:  The IDATA space overlaps physically the DATA and BIT areas of the
                        608     ;          8051 CPU. At minimum the memory space occupied from the C51 
                        609     ;          run-time routines must be set to zero.
                        610     ;------------------------------------------------------------------------------
                        611     ;
                        612     ;  Reentrant Stack Initilization
                        613     ;
                        614     ;  The following EQU statements define the stack pointer for reentrant
                        615     ;  functions and initialized it:
                        616     ;
                        617     ;  Stack Space for reentrant functions in the SMALL model.
 0000                   618     IBPSTACK        EQU     0       ; set to 1 if small reentrant is used.
 0100                   619     IBPSTACKTOP     EQU     0FFH+1  ; set top of stack to highest location+1.
                        620     ;
                        621     ;  Stack Space for reentrant functions in the LARGE model.      
 0000                   622     XBPSTACK        EQU     0       ; set to 1 if large reentrant is used.
 00010000               623     XBPSTACKTOP     EQU     0FFFFH+1; set top of stack to highest location+1.
                        624     ;
                        625     ;  Stack Space for reentrant functions in the COMPACT model.    
 0000                   626     PBPSTACK        EQU     0       ; set to 1 if compact reentrant is used.
 00010000               627     PBPSTACKTOP     EQU     0FFFFH+1; set top of stack to highest location+1.
                        628     ;
                        629     ;------------------------------------------------------------------------------
                        630     ;
                        631     ;  Page Definition for Using the Compact Model with 64 KByte xdata RAM
                        632     ;
                        633     ;  The following EQU statements define the xdata page used for pdata
                        634     ;  variables. The EQU PPAGE must conform with the PPAGE control used
                        635     ;  in the linker invocation.
                        636     ;
 0000                   637     PPAGEENABLE     EQU     0       ; set to 1 if pdata object are used.
 0000                   638     PPAGE           EQU     0       ; define PPAGE number.
                        639     ;
                        640     ;------------------------------------------------------------------------------
                        641     
                        642                     NAME    ?C_STARTUP
                        643     
                        644     
------                  645     ?C_C51STARTUP   SEGMENT   CODE
------                  646     ?STACK          SEGMENT   IDATA
                        647     
------                  648                     RSEG    ?STACK
000000                  649                     DS      1
                        650     
AX51 MACRO ASSEMBLER  STARTUP                                                               10/12/07 16:09:52 PAGE    11

                        651                     EXTRN CODE (?C_START)
                        652                     PUBLIC  ?C_STARTUP
                        653     
000000                  654                     CSEG    AT RESET_VECT    ; jump to user reset_vector
000000 020000     F     655     ?C_STARTUP:     LJMP    STARTUP1
                        656     
------                  657                     RSEG    ?C_C51STARTUP
                        658     
000000                  659     STARTUP1:
                        660     
                        661     IF XDATALEN <> 0
                                                MOV     DPTR,#XDATASTART
                                                MOV     R7,#LOW (XDATALEN)
                                  IF (LOW (XDATALEN)) <> 0
                                                MOV     R6,#(HIGH (XDATALEN)) +1
                                  ELSE
                                                MOV     R6,#HIGH (XDATALEN)
                                  ENDIF
                                                CLR     A
                                XDATALOOP:      MOVX    @DPTR,A
                                                INC     DPTR
                                                DJNZ    R7,XDATALOOP
                                                DJNZ    R6,XDATALOOP
                                ENDIF
                        675     
                        676     IF PPAGEENABLE <> 0
                                                MOV     P2,#PPAGE
                                ENDIF
                        679     
                        680     IF PDATALEN <> 0
                                                MOV     R0,#PDATASTART
                                                MOV     R7,#LOW (PDATALEN)
                                                CLR     A
                                PDATALOOP:      MOVX    @R0,A
                                                INC     R0
                                                DJNZ    R7,PDATALOOP
                                ENDIF
                        688     
                        689     IF IBPSTACK <> 0
                                EXTRN DATA (?C_IBP)
                                
                                                MOV     ?C_IBP,#LOW IBPSTACKTOP
                                ENDIF
                        694     
                        695     IF XBPSTACK <> 0
                                EXTRN DATA (?C_XBP)
                                
                                                MOV     ?C_XBP,#HIGH XBPSTACKTOP
                                                MOV     ?C_XBP+1,#LOW XBPSTACKTOP
                                ENDIF
                        701     
                        702     IF PBPSTACK <> 0
                                EXTRN DATA (?C_PBP)
                                                MOV     ?C_PBP,#LOW PBPSTACKTOP
                                ENDIF
                        706     
000000 758100     F     707                     MOV     SP,#?STACK-1
000003 020000     E     708                     LJMP    ?C_START
                        709     
                        710                     END
AX51 MACRO ASSEMBLER  STARTUP                                                               10/12/07 16:09:52 PAGE    12

SYMBOL TABLE LISTING
------ ----- -------


N A M E                        T Y P E  V A L U E     ATTRIBUTES

?C_C51STARTUP . . . . . . . .  C  SEG   000006H       REL=UNIT, ALN=BYTE
?C_START. . . . . . . . . . .  C  ADDR  -------       EXT
?C_STARTUP. . . . . . . . . .  C  ADDR  0000H     R   SEG=?CO?STARTUP?3
?STACK. . . . . . . . . . . .  I  SEG   000001H       REL=UNIT, ALN=BYTE
AC. . . . . . . . . . . . . .  B  ADDR  00D0H.6   A   
ACC . . . . . . . . . . . . .  D  ADDR  00E0H     A   
APTR1H. . . . . . . . . . . .  D  ADDR  009AH     A   
APTR1L. . . . . . . . . . . .  D  ADDR  009BH     A   
AUTOPTR1H . . . . . . . . . .  D  ADDR  009AH     A   
AUTOPTR1L . . . . . . . . . .  D  ADDR  009BH     A   
AUTOPTRH2 . . . . . . . . . .  D  ADDR  009DH     A   
AUTOPTRL2 . . . . . . . . . .  D  ADDR  009EH     A   
AUTOPTRSETUP. . . . . . . . .  D  ADDR  00AFH     A   
B . . . . . . . . . . . . . .  D  ADDR  00F0H     A   
BPADDRH . . . . . . . . . . .  X  ADDR  E606H     A   

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -