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

📄 startup34.lst

📁 uPSD34xx Disk driver
💻 LST
📖 第 1 页 / 共 2 页
字号:
A51 MACRO ASSEMBLER  STARTUP34                                                            09/13/2005 18:00:20 PAGE     1


MACRO ASSEMBLER A51 V7.10b
OBJECT MODULE PLACED IN STARTUP34.OBJ
ASSEMBLER INVOKED BY: C:\Keil\C51\BIN\A51.EXE STARTUP34.A51 SET(SMALL) DEBUG EP

LOC  OBJ            LINE     SOURCE

                       1     $nomod51 
                       2     
                       3     ;------------------------------------------------------------------------------
                       4     ;  startup34.a51
                       5     ;
                       6     ;  Version:
                       7     ;  September 13, 2005 Ver 1.1 - Updated disclaimer.
                       8     ;  February 18, 2005 Ver 1.0 - Initial release.
                       9     ;
                      10     ;  Dependencies:
                      11     ;  uPSD_5V and FREQ_OSC are used as input parameters to set up the BUSCON 
                      12     ;  register appropriately for proper uPSD3400 operation.  They are set in the
                      13     ;  header file, upsd3400_hardware.h, for the target processor.
                      14     ;
                      15     ;  Description:
                      16     ;  This code is executed after a reset.  Besides the usual C51 startup 
                      17     ;  settings, specific uPSD3400 initializations are done here such as the
                      18     ;  BUSCON register.  Other uPSD3400 initializations can be added here.  When
                      19     ;  the startup code execution is complete, this code jumps to ?C_START that 
                      20     ;  is typically the main() function in the C code.
                      21     ;  
                      22     ;
                      23     ;  Copyright (c) 2005 STMicroelectronics Inc.
                      24     ;
                      25     ;
                      26     ;  THIS INFORMATION (or THIS SOFTWARE or THIS DOCUMENT) IS FOR GUIDANCE ONLY. ST 
                      27     ;  MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS 
                      28     ;  SOFTWARE nor for any infringement of patents or other rights of third parties 
                      29     ;  which may result from its use. ST MICROELECTRONICS SHALL NOT BE HELD LIABLE FOR 
                      30     ;  ANY DIRECT, INDIRECT INCIDENTAL OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY 
                      31     ;  CLAIMS ARISING IN CONNECTION WITH OR ARISING FROM THE FURNISHING, PERFORMANCE, 
                      32     ;  OR USE OF THIS SOFTWARE. Specifications mentioned in this publication are 
                      33     ;  subject to change without notice. This publication supersedes and replaces all 
                      34     ;  information previously supplied. STMicroelectronics products are not authorized 
                      35     ;  for use as critical components in life support devices or systems without the 
                      36     ;  express written approval of STMicroelectronics.
                      37     ;------------------------------------------------------------------------------
                      38     
                      39     ;#include "upsd3400_hardware.h"
                +1    40     
                +1    41     
                +1    42     
                +1    43     
                +1    44     
                +1    45     
                +1    46     
                +1    47     
                +1    48     
                +1    49     
                +1    50     
                +1    51     
                +1    52     
                +1    53     
                +1    54     
                +1    55     
                +1    56     
                +1    57     
                +1    58     
A51 MACRO ASSEMBLER  STARTUP34                                                            09/13/2005 18:00:20 PAGE     2

                +1    59     
                +1    60     
                +1    61     
                +1    62     
                +1    63     
                +1    64     
                +1    65     
                +1    66     
                +1    67     
                +1    68     
                +1    69     
                +1    70     
                +1    71     
                +1    72     
                +1    73     
                +1    74     
                +1    75     
                +1    76     
                +1    77     
                +1    78     
                +1    79     
                +1    80     
                +1    81     
                +1    82     
                +1    83     
                +1    84     
                +1    85     
                +1    86     
                +1    87     
                +1    88     
                +1    89     
                +1    90     
                +1    91     
                +1    92     
                +1    93     
                +1    94     
                +1    95     
                +1    96     
                +1    97     
                +1    98     
                +1    99     
                +1   100        
                +1           
                +1              
                +1                 
                +1              
                +1                 
                +1                 
                +1              
                +1           
                +1   109     
                +1   110     
                +1   111     
                +1   112     
                +1   113     
                +1   114        
                +1   115        
                +1   116                                            
                +1           
                +1              
                +1              
                +1                                                  
                +1           
                +1   122     
                +1   123     
                +1   124     
A51 MACRO ASSEMBLER  STARTUP34                                                            09/13/2005 18:00:20 PAGE     3

                +1   125     
                +1   126     
                +1   127     
                +1   128     
                +1   129     
                +1   130     
                +1   131        
                +1   132        
                +1           
                +1              
                +1              
                +1           
                +1   137         
                +1   138     
                +1   139     
                +1   140     
                +1   141     
                +1   142     
                +1   143     
                +1   144     
                +1   145     
                +1   146     
                +1   147     
                +1   148     
                +1   149     
                +1   150     
                +1   151     
                +1   152     
                +1   153     
                +1   154                                             
                +1   155     
                +1   156     
                +1   157     
                +1   158     
                +1   159     
                +1   160     
                +1   161     
                +1   162     
                +1   163     
                +1   164     
                +1   165     
                +1           
                +1           
                +1           
                +1           
                +1           
                +1           
                +1           
                +1           
                +1   174     
                +1   175     
                +1   176     
                +1   177     
                +1           
                +1           
                +1           
                +1           
                +1           
                +1           
                +1           
                +1           
                +1   186     
                +1   187     
                +1   188     
                +1   189     
                +1   190     
A51 MACRO ASSEMBLER  STARTUP34                                                            09/13/2005 18:00:20 PAGE     4

                +1   191     
                +1   192     
                +1   193     
                +1   194     
                +1   195     
                +1   196     
                +1   197     
                +1   198     
                     199     
                     200     
                     201     ;  User-defined Power-On Initialization of Memory (Clear Memory)
                     202     ;
                     203     ;  With the following EQU statements the initialization of memory
                     204     ;  at processor reset can be defined:
                     205     
                     206     ;               ; the absolute start-address of IDATA memory is always 0
  0100               207     IDATALEN        EQU     100H    ; the length of IDATA memory in bytes.
                     208     
                     209     ; NOTE: The length equates for XDATALEN and PDATALEN should be changed to 
                     210     ;       non-zero values indicating the amount of XDATA and/or PDATA
                     211     ;       memory to be initialized to 0x00.  The start address equates 
                     212     ;       (XDATASTART and PDATASTART) must be set to the respective starting
                     213     ;       addresses as mapped in PSDsoft if the memory is to be initialized.
                     214     
  0000               215     XDATASTART      EQU     0H      ; the absolute start-address of XDATA memory
  0000               216     XDATALEN        EQU     0H      ; the length of XDATA memory in bytes.
                     217     
  0000               218     PDATASTART      EQU     0H      ; the absolute start-address of PDATA memory
  0000               219     PDATALEN        EQU     0H      ; the length of PDATA memory in bytes.
                     220     
                     221     ;  Notes:  The IDATA space overlaps physically the DATA and BIT areas of the
                     222     ;          8051 CPU. At minimum the memory space occupied from the C51 
                     223     ;          run-time routines must be set to zero.
                     224     
                     225     
                     226     ;------------------------------------------------------------------------------

⌨️ 快捷键说明

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