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

📄 conf_tny.lst

📁 本程序是基于T6963C的程序 好用 欢迎下载
💻 LST
字号:
A51 MACRO ASSEMBLER  CONF_TNY                                                             04/22/2006 15:07:30 PAGE     1


MACRO ASSEMBLER A51 V6.23
OBJECT MODULE PLACED IN .\CONF_TNY.obj
ASSEMBLER INVOKED BY: C:\Keil\C51\BIN\A51.EXE C:\Keil\C51\RTX_TINY\CONF_TNY.A51 SET(LARGE) DEBUG PRINT(.\CONF_TNY.lst) O
                      BJECT(.\CONF_TNY.obj) EP

LOC  OBJ            LINE     SOURCE

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

                      57                     ENDM
                      58     ;
                      59     ;------------------------------------------------------------------------------
                      60     
                      61                     NAME    ?RTX51_TINY_CONFIG
                      62     
                      63     PUBLIC  ?RTX_REGISTERBANK, ?RTX_TIMESHARING, ?RTX_RAMTOP, ?RTX_CLOCK
                      64     PUBLIC  ?RTX_ROBINTIME, ?RTX_SAVEACC, ?RTX_SAVEPSW
                      65     PUBLIC  ?RTX_FREESTACK, ?RTX_STACKERROR, ?RTX_CURRENTTASK 
                      66     
  FFFB                67     ?RTX_TIMESHARING  EQU   -TIMESHARING    
  00FF                68     ?RTX_RAMTOP       EQU   RAMTOP
  0028                69     ?RTX_FREESTACK    EQU   FREE_STACK
  D8F0                70     ?RTX_CLOCK        EQU   -INT_CLOCK
  0008                71     ?RTX_REGISTERBANK EQU   INT_REGBANK * 8
----                  72                       DSEG  AT    ?RTX_REGISTERBANK
0008                  73                       DS    2     ; temporary space
000A                  74     ?RTX_SAVEACC:     DS    1
000B                  75     ?RTX_SAVEPSW:     DS    1
000C                  76     ?RTX_ROBINTIME:   DS    1
000D                  77     ?RTX_CURRENTTASK: DS    1
                      78     
                      79     ?RTX?CODE         SEGMENT CODE
----                  80                       RSEG  ?RTX?CODE
0000                  81     ?RTX_STACKERROR:  STACK_ERROR
                      84     
                      85                       END
A51 MACRO ASSEMBLER  CONF_TNY                                                             04/22/2006 15:07:30 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   D8F0H   A   
?RTX_CURRENTTASK .  D ADDR   000DH   A   
?RTX_FREESTACK . .  N NUMB   0028H   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   FFFBH   A   
EA . . . . . . . .  B ADDR   00A8H.7 A   
FREE_STACK . . . .  N NUMB   0028H   A   
INT_CLOCK. . . . .  N NUMB   2710H   A   
INT_REGBANK. . . .  N NUMB   0001H   A   
RAMTOP . . . . . .  N NUMB   00FFH   A   
TIMESHARING. . . .  N NUMB   0005H   A   


REGISTER BANK(S) USED: 0 

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

⌨️ 快捷键说明

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