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

📄 conf_tny.lst

📁 c8051f020实现4个 产UART 口
💻 LST
字号:
A51 MACRO ASSEMBLER  CONF_TNY                                                             06/10/2007 23:11:21 PAGE     1


MACRO ASSEMBLER A51 V7.10
OBJECT MODULE PLACED IN .\out\CONF_TNY.obj
ASSEMBLER INVOKED BY: C:\Keil\C51\BIN\A51.EXE CONF_TNY.A51 INCDIR(C:\KEIL\C51\LIB\;D:\TEST_C020\MC_55_C\) SET(LARGE) DEB
                      UG OBJECT(.\out\CONF_TNY.obj) EP

LOC  OBJ            LINE     SOURCE

                       1     $debug  
                       2     ;PUBLICS
                       3     ;------------------------------------------------------------------------------
                       4     ;  This file is part of the 'RTX-51 tiny' Real-Time Operating System Package
                       5     ;  (c) Copyright KEIL ELEKTRONIK GmbH and Franklin Software, Inc. 1991-1993
                       6     ;------------------------------------------------------------------------------
                       7     ;  CONF_TNY.A51:  This code permits the configuration of the
                       8     ;                 'RTX-51 Tiny' Real-Time Operating System
                       9     ;
                      10     ;  To assemble this file, use A51 with the following invocation:
                      11     ;
                      12     ;     A51 CONF_TNY.A51
                      13     ;
                      14     ;  To link the modified CONF_TNY.OBJ file to your application use the following
                      15     ;  BL51 invocation:
                      16     ;
                      17     ;     BL51 <your object file list>, CONF_TNY.OBJ <controls>
                      18     ;
                      19     ;------------------------------------------------------------------------------
                      20     ;
                      21     ;  'RTX-51 Tiny' Hardware-Timer
                      22     ;  ============================
                      23     ;
                      24     ;  With the following EQU statements, the initialization of the 'RTX-51 Tiny'
                      25     ;  Hardware-Timer can be defined ('RTX-51 Tiny' uses the 8051 Timer 0 for 
                      26     ;  controlling RTX-51 software timers).
                      27     ;
                      28     ;               ; define the register bank used for the timer interrupt.
  0001                29     INT_REGBANK     EQU     1       ; default is Registerbank 1
                      30     ;
                      31     ;               ; define Hardware-Timer Overflow in 8051 machine cycles.
  75D0                32     INT_CLOCK       EQU     30160;   //  44/30ms=44236      ; default is 2ms cycles
                      33     ;
                      34     ;               ; define Round-Robin Timeout in Hardware-Timer Ticks.
  0000                35     TIMESHARING     EQU     0       ; default is 5 ticks.
                      36     ;               ; 
                      37     ;  Note:   Round-Robin Task Switching can be disabled by using '0' as
                      38     ;          value for the TIMESHARING equate.
                      39     ;------------------------------------------------------------------------------
                      40     ;
                      41     ;  'RTX-51 Tiny' Stack Space
                      42     ;  =========================
                      43     ;
                      44     ;  The following EQU statements define the size of the internal RAM used
                      45     ;  for stack area and the minimum free space on the stack.  A macro defines
                      46     ;  the code executed when the stack space is exhausted.
                      47     ;
                      48     ;               ; define the highest RAM address used for CPU stack
  00FF                49     RAMTOP          EQU     0FFH    ; default is address (256-1)
                      50     ;
  0002                51     FREE_STACK      EQU     2       ; default is 20 bytes free space on stack
                      52     ;
                      53     STACK_ERROR     MACRO
                      54                     CLR     EA      ; disable interrupts
                      55                     SJMP    $       ; endless loop if stack space is exhausted
                      56                     ENDM
                      57     ;
A51 MACRO ASSEMBLER  CONF_TNY                                                             06/10/2007 23:11:21 PAGE     2

                      58     ;------------------------------------------------------------------------------
                      59     
                      60                     NAME    ?RTX51_TINY_CONFIG
                      61     
                      62     PUBLIC  ?RTX_REGISTERBANK, ?RTX_TIMESHARING, ?RTX_RAMTOP, ?RTX_CLOCK
                      63     PUBLIC  ?RTX_ROBINTIME, ?RTX_SAVEACC, ?RTX_SAVEPSW
                      64     PUBLIC  ?RTX_FREESTACK, ?RTX_STACKERROR, ?RTX_CURRENTTASK 
                      65     
  0000                66     ?RTX_TIMESHARING  EQU   -TIMESHARING    
  00FF                67     ?RTX_RAMTOP       EQU   RAMTOP
  0002                68     ?RTX_FREESTACK    EQU   FREE_STACK
  8A30                69     ?RTX_CLOCK        EQU   -INT_CLOCK
  0008                70     ?RTX_REGISTERBANK EQU   INT_REGBANK * 8
----                  71                       DSEG  AT    ?RTX_REGISTERBANK
0008                  72                       DS    2     ; temporary space
000A                  73     ?RTX_SAVEACC:     DS    1
000B                  74     ?RTX_SAVEPSW:     DS    1
000C                  75     ?RTX_ROBINTIME:   DS    1
000D                  76     ?RTX_CURRENTTASK: DS    1
                      77     
                      78     ?RTX?CODE         SEGMENT CODE
----                  79                       RSEG  ?RTX?CODE
0000                  80     ?RTX_STACKERROR:  STACK_ERROR
                      83     
                      84                       END
A51 MACRO ASSEMBLER  CONF_TNY                                                             06/10/2007 23:11:21 PAGE     3

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


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

?RTX51_TINY_CONFIG  N NUMB   -----       
?RTX?CODE. . . . .  C SEG    0004H       REL=UNIT
?RTX_CLOCK . . . .  N NUMB   8A30H   A   
?RTX_CURRENTTASK .  D ADDR   000DH   A   
?RTX_FREESTACK . .  N NUMB   0002H   A   
?RTX_RAMTOP. . . .  N NUMB   00FFH   A   
?RTX_REGISTERBANK.  N NUMB   0008H   A   
?RTX_ROBINTIME . .  D ADDR   000CH   A   
?RTX_SAVEACC . . .  D ADDR   000AH   A   
?RTX_SAVEPSW . . .  D ADDR   000BH   A   
?RTX_STACKERROR. .  C ADDR   0000H   R   SEG=?RTX?CODE
?RTX_TIMESHARING .  N NUMB   0000H   A   
EA . . . . . . . .  B ADDR   00A8H.7 A   
FREE_STACK . . . .  N NUMB   0002H   A   
INT_CLOCK. . . . .  N NUMB   75D0H   A   
INT_REGBANK. . . .  N NUMB   0001H   A   
RAMTOP . . . . . .  N NUMB   00FFH   A   
TIMESHARING. . . .  N NUMB   0000H   A   


REGISTER BANK(S) USED: 0 

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

⌨️ 快捷键说明

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