A51 MACRO ASSEMBLER  STARTUP                                                              07/07/2009 21:24:06 PAGE     1


MACRO ASSEMBLER A51 V8.00
OBJECT MODULE PLACED IN STARTUP.OBJ
ASSEMBLER INVOKED BY: C:\KEIL\C51\BIN\KE51.EXE STARTUP.A51 SET(SMALL) DEBUG EP

LOC  OBJ            LINE     SOURCE

                       1     
                       2     
                       3     
                       4     
                       5     
                       6     
                       7     
                       8     
                       9     
                      10     
                      11     
                      12     
                      13     
                      14     
                      15     
                      16     
                      17     
                      18     
                      19     
                      20     
                      21     
                      22     
                      23     
                      24     
                      25     
                      26     
                      27     
                      28     
                      29     
  0080                30     IDATALEN        EQU     80H
                      31     
                      32     
                      33     
  0000                34     XDATASTART      EQU     0     
                      35     
                      36     
                      37     
  0000                38     XDATALEN        EQU     0      
                      39     
                      40     
                      41     
  0000                42     PDATASTART      EQU     0H
                      43     
                      44     
                      45     
  0000                46     PDATALEN        EQU     0H
                      47     
                      48     
                      49     
                      50     
                      51     
                      52     
                      53     
                      54     
                      55     
                      56     
                      57     
                      58     
A51 MACRO ASSEMBLER  STARTUP                                                              07/07/2009 21:24:06 PAGE     2

  0000                59     IBPSTACK        EQU     0       
                      60     
                      61     
  0100                62     IBPSTACKTOP     EQU     0xFF +1     
                      63     
                      64     
                      65     
                      66     
                      67     
  0000                68     XBPSTACK        EQU     0       
                      69     
                      70     
  0000                71     XBPSTACKTOP     EQU     0xFFFF +1   
                      72     
                      73     
                      74     
                      75     
                      76     
  0000                77     PBPSTACK        EQU     0       
                      78     
                      79     
                      80     
  0100                81     PBPSTACKTOP     EQU     0xFF +1     
                      82     
                      83     
                      84     
                      85     
                      86     
                      87     
                      88     
                      89     
                      90     
                      91     
                      92     
  0000                93     PPAGEENABLE     EQU     0       
                      94     
                      95     
                      96     
  0000                97     PPAGE           EQU     0
                      98     
                      99     
                     100     
  00A0               101     PPAGE_SFR       DATA    0A0H
                     102     
                     103     
                     104     
                     105     
                     106     
  00E0               107     ACC     DATA    0E0H
  00F0               108     B       DATA    0F0H
  0081               109     SP      DATA    81H
  0082               110     DPL     DATA    82H
  0083               111     DPH     DATA    83H
                     112     
                     113                     NAME    ?C_STARTUP
                     114     
                     115     
                     116     ?C_C51STARTUP   SEGMENT   CODE
                     117     ?STACK          SEGMENT   IDATA
                     118     
----                 119                     RSEG    ?STACK
0000                 120                     DS      1
                     121     
                     122                     EXTRN CODE (?C_START)
                     123                     PUBLIC  ?C_STARTUP
                     124     
A51 MACRO ASSEMBLER  STARTUP                                                              07/07/2009 21:24:06 PAGE     3

----                 125                     CSEG    AT      0
0000 020000   F      126     ?C_STARTUP:     LJMP    STARTUP1
                     127     
----                 128                     RSEG    ?C_C51STARTUP
                     129     
0000                 130     STARTUP1:
                     131     
                     132     IF IDATALEN <> 0
0000 787F            133                     MOV     R0,#IDATALEN - 1
0002 E4              134                     CLR     A
0003 F6              135     IDATALOOP:      MOV     @R0,A
0004 D8FD            136                     DJNZ    R0,IDATALOOP
                     137     ENDIF
                     138     
                     139     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
                     153     
                     154     IF PPAGEENABLE <> 0
                                             MOV     PPAGE_SFR,#PPAGE
                             ENDIF
                     157     
                     158     IF PDATALEN <> 0
                                             MOV     R0,#LOW (PDATASTART)
                                             MOV     R7,#LOW (PDATALEN)
                                             CLR     A
                             PDATALOOP:      MOVX    @R0,A
                                             INC     R0
                                             DJNZ    R7,PDATALOOP
                             ENDIF
                     166     
                     167     IF IBPSTACK <> 0
                             EXTRN DATA (?C_IBP)
                             
                                             MOV     ?C_IBP,#LOW IBPSTACKTOP
                             ENDIF
                     172     
                     173     IF XBPSTACK <> 0
                             EXTRN DATA (?C_XBP)
                             
                                             MOV     ?C_XBP,#HIGH XBPSTACKTOP
                                             MOV     ?C_XBP+1,#LOW XBPSTACKTOP
                             ENDIF
                     179     
                     180     IF PBPSTACK <> 0
                             EXTRN DATA (?C_PBP)
                                             MOV     ?C_PBP,#LOW PBPSTACKTOP
                             ENDIF
                     184     
0006 758100   F      185                     MOV     SP,#?STACK-1
                     186     
                     187     
                     188     
                     189     
                     190     
A51 MACRO ASSEMBLER  STARTUP                                                              07/07/2009 21:24:06 PAGE     4

                             
                             
                                             
                             
                     195     
0009 020000   F      196                     LJMP    ?C_START
                     197     
                     198                     END
                             
A51 MACRO ASSEMBLER  STARTUP                                                              07/07/2009 21:24:06 PAGE     5

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


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

?C_C51STARTUP. . .  C SEG    000CH       REL=UNIT
?C_START . . . . .  C ADDR   -----       EXT
?C_STARTUP . . . .  C ADDR   0000H   A   
?STACK . . . . . .  I SEG    0001H       REL=UNIT
ACC. . . . . . . .  D ADDR   00E0H   A   
B. . . . . . . . .  D ADDR   00F0H   A   
DPH. . . . . . . .  D ADDR   0083H   A   
DPL. . . . . . . .  D ADDR   0082H   A   
IBPSTACK . . . . .  N NUMB   0000H   A   
IBPSTACKTOP. . . .  N NUMB   0100H   A   
IDATALEN . . . . .  N NUMB   0080H   A   
IDATALOOP. . . . .  C ADDR   0003H   R   SEG=?C_C51STARTUP
PBPSTACK . . . . .  N NUMB   0000H   A   
PBPSTACKTOP. . . .  N NUMB   0100H   A   
PDATALEN . . . . .  N NUMB   0000H   A   
PDATASTART . . . .  N NUMB   0000H   A   
PPAGE. . . . . . .  N NUMB   0000H   A   
PPAGEENABLE. . . .  N NUMB   0000H   A   
PPAGE_SFR. . . . .  D ADDR   00A0H   A   
SP . . . . . . . .  D ADDR   0081H   A   
STARTUP1 . . . . .  C ADDR   0000H   R   SEG=?C_C51STARTUP
XBPSTACK . . . . .  N NUMB   0000H   A   
XBPSTACKTOP. . . .  N NUMB   0000H   A   
XDATALEN . . . . .  N NUMB   0000H   A   
XDATASTART . . . .  N NUMB   0000H   A   


REGISTER BANK(S) USED: 0 


ASSEMBLY COMPLETE.  0 WARNING(S), 0 ERROR(S)

  PA51 2006 中文汇编系统
Version 6.12 (C) Copyright 2006.10
C:\KEIL\C51\BIN\A51.EXE @STARTUP._ia N=2
格式:4
E:\产品最~1\汇诚科~1\S52_M1~1\本开发~1\十二、~1\KEIL + STARTUP = E:\产品最~1\汇诚科~1\S52_M1~1\本开发~1\十二、~1\KEIL\STARTUP.A51
存盘:E:\产品最~1\汇诚科~1\S52_M1~1\本开发~1\十二、~1\KEIL\STARTUP.A51 C:\KEIL\C51\BIN\PINC\BAK\BAK-01.ASM
编译: C:\KEIL\C51\BIN\KE51.exe @STARTUP._ia 586
