OS_CPU_C.ls1
上传用户:tzjinxin1
上传日期:2022-08-08
资源大小:272k
文件大小:81k
开发平台:

Visual C++

  1. A51 MACRO ASSEMBLER  OS_CPU_C                                                             06/22/2006 12:13:16 PAGE     1
  2. MACRO ASSEMBLER A51 V8.00
  3. OBJECT MODULE PLACED IN .objOS_CPU_C.OBJ
  4. ASSEMBLER INVOKED BY: C:KeilC51BINA51.EXE .objOS_CPU_C.src PR(.lstOS_CPU_C.ls1) EP DEBUG
  5. LOC  OBJ            LINE     SOURCE
  6.                        1     ; .objOS_CPU_C.SRC generated from: uCosiiOS_CPU_C.C
  7.                        2     ; COMPILER INVOKED BY:
  8.                        3     ;        C:KeilC51BINC51.EXE uCosiiOS_CPU_C.C LARGE BROWSE DEBUG OBJECTEXTEND PRINT(.
  9.                              lstOS_CPU_C.lst) SRC(.objOS_CPU_C.SRC)
  10.                        4     
  11.                        5     $nomod51 
  12.                        6     
  13.                        7     NAME    OS_CPU_C
  14.                        8     
  15.   0080                 9     P0      DATA    080H
  16.   0090                10     P1      DATA    090H
  17.   00A0                11     P2      DATA    0A0H
  18.   00B0                12     P3      DATA    0B0H
  19.   00B4                13     T0      BIT     0B0H.4
  20.   00D6                14     AC      BIT     0D0H.6
  21.   00B5                15     T1      BIT     0B0H.5
  22.   0090                16     T2      BIT     090H.0
  23.   00AF                17     EA      BIT     0A8H.7
  24.   00A8                18     IE      DATA    0A8H
  25.   00CE                19     EXF2    BIT     0C8H.6
  26.   00B7                20     RD      BIT     0B0H.7
  27.   00AC                21     ES      BIT     0A8H.4
  28.   00B8                22     IP      DATA    0B8H
  29.   0098                23     RI      BIT     098H.0
  30.   00B2                24     INT0    BIT     0B0H.2
  31.   00D7                25     CY      BIT     0D0H.7
  32.   0099                26     TI      BIT     098H.1
  33.   00B3                27     INT1    BIT     0B0H.3
  34.   00CB                28     RCAP2H  DATA    0CBH
  35.   00BC                29     PS      BIT     0B8H.4
  36.   0081                30     SP      DATA    081H
  37.   0091                31     T2EX    BIT     090H.1
  38.   00D2                32     OV      BIT     0D0H.2
  39.   00CA                33     RCAP2L  DATA    0CAH
  40.   00C9                34     C_T2    BIT     0C8H.1
  41.   00B6                35     WR      BIT     0B0H.6
  42.   00CD                36     RCLK    BIT     0C8H.5
  43.   00CC                37     TCLK    BIT     0C8H.4
  44.   0099                38     SBUF    DATA    099H
  45.   0087                39     PCON    DATA    087H
  46.   0098                40     SCON    DATA    098H
  47.   0089                41     TMOD    DATA    089H
  48.   0088                42     TCON    DATA    088H
  49.   0089                43     IE0     BIT     088H.1
  50.   008B                44     IE1     BIT     088H.3
  51.   00F0                45     B       DATA    0F0H
  52.   00C8                46     CP_RL2  BIT     0C8H.0
  53.   00E0                47     ACC     DATA    0E0H
  54.   00A9                48     ET0     BIT     0A8H.1
  55.   00AB                49     ET1     BIT     0A8H.3
  56.   008D                50     TF0     BIT     088H.5
  57.   00AD                51     ET2     BIT     0A8H.5
  58.   008F                52     TF1     BIT     088H.7
  59.   00CF                53     TF2     BIT     0C8H.7
  60.   009A                54     RB8     BIT     098H.2
  61.   008C                55     TH0     DATA    08CH
  62.   00A8                56     EX0     BIT     0A8H.0
  63.   0088                57     IT0     BIT     088H.0
  64. A51 MACRO ASSEMBLER  OS_CPU_C                                                             06/22/2006 12:13:16 PAGE     2
  65.   008D                58     TH1     DATA    08DH
  66.   009B                59     TB8     BIT     098H.3
  67.   00AA                60     EX1     BIT     0A8H.2
  68.   008A                61     IT1     BIT     088H.2
  69.   00CD                62     TH2     DATA    0CDH
  70.   00D0                63     P       BIT     0D0H.0
  71.   009F                64     SM0     BIT     098H.7
  72.   008A                65     TL0     DATA    08AH
  73.   009E                66     SM1     BIT     098H.6
  74.   008B                67     TL1     DATA    08BH
  75.   009D                68     SM2     BIT     098H.5
  76.   00CC                69     TL2     DATA    0CCH
  77.   00B9                70     PT0     BIT     0B8H.1
  78.   00BB                71     PT1     BIT     0B8H.3
  79.   00D3                72     RS0     BIT     0D0H.3
  80.   00BD                73     PT2     BIT     0B8H.5
  81.   008C                74     TR0     BIT     088H.4
  82.   00D4                75     RS1     BIT     0D0H.4
  83.   008E                76     TR1     BIT     088H.6
  84.   00CA                77     TR2     BIT     0C8H.2
  85.   00B8                78     PX0     BIT     0B8H.0
  86.   00BA                79     PX1     BIT     0B8H.2
  87.   0083                80     DPH     DATA    083H
  88.   0082                81     DPL     DATA    082H
  89.   00CB                82     EXEN2   BIT     0C8H.3
  90.   009C                83     REN     BIT     098H.4
  91.   00C8                84     T2CON   DATA    0C8H
  92.   00B0                85     RXD     BIT     0B0H.0
  93.   00B1                86     TXD     BIT     0B0H.1
  94.   00D5                87     F0      BIT     0D0H.5
  95.   00D0                88     PSW     DATA    0D0H
  96.                       89     ?PR?_?OSTaskStkInit?OS_CPU_C             SEGMENT CODE 
  97.                       90     ?PR?_?OSInitHookBegin?OS_CPU_C           SEGMENT CODE 
  98.                       91     ?PR?_?OSInitHookEnd?OS_CPU_C             SEGMENT CODE 
  99.                       92     ?PR?_?OSTaskCreateHook?OS_CPU_C          SEGMENT CODE 
  100.                       93     ?PR?_?OSTaskSwHook?OS_CPU_C              SEGMENT CODE 
  101.                       94     ?PR?_?OSTCBInitHook?OS_CPU_C             SEGMENT CODE 
  102.                       95     ?PR?_?OSTimeTickHook?OS_CPU_C            SEGMENT CODE 
  103.                       96     ?PR?_?OSTaskIdleHook?OS_CPU_C            SEGMENT CODE 
  104.                       97     ?PR?UserTickTimer?OS_CPU_C               SEGMENT CODE 
  105.                       98     ?PR?OSTickISR?OS_CPU_C                   SEGMENT CODE 
  106.                       99     ?PR?SerialISR?OS_CPU_C                   SEGMENT CODE 
  107.                      100     ?PR?_?InitHardware?OS_CPU_C              SEGMENT CODE 
  108.                      101     ?XD?OS_CPU_C         SEGMENT XDATA 
  109.                      102             EXTRN   CODE (_?OSIntExit)
  110.                      103             EXTRN   CODE (_?OSTimeTick)
  111.                      104             EXTRN   CODE (_?OSIntEnter)
  112.                      105             EXTRN   CODE (?C?ADDXBP)
  113.                      106             EXTRN   CODE (?C?XBPOFF)
  114.                      107             EXTRN   DATA (?C_XBP)
  115.                      108             EXTRN   CODE (?C?ILDIX)
  116.                      109             EXTRN   CODE (?C?CSTPTR)
  117.                      110             EXTRN   CODE (?C?CLDOPTR)
  118.                      111             PUBLIC  pc_send
  119.                      112             PUBLIC  _?InitHardware
  120.                      113             PUBLIC  SerialISR
  121.                      114             PUBLIC  OSTickISR
  122.                      115             PUBLIC  UserTickTimer
  123.                      116             PUBLIC  _?OSTaskIdleHook
  124.                      117             PUBLIC  _?OSTimeTickHook
  125.                      118             PUBLIC  _?OSTCBInitHook
  126.                      119             PUBLIC  _?OSTaskSwHook
  127.                      120             PUBLIC  _?OSTaskCreateHook
  128.                      121             PUBLIC  _?OSInitHookEnd
  129.                      122             PUBLIC  _?OSInitHookBegin
  130.                      123             PUBLIC  _?OSTaskStkInit
  131. A51 MACRO ASSEMBLER  OS_CPU_C                                                             06/22/2006 12:13:16 PAGE     3
  132.                      124     
  133. ----                 125             RSEG  ?XD?OS_CPU_C
  134. 0000                 126             pc_send:   DS   7
  135.                      127     ; /*
  136.                      128     ; *****************************************************************************************
  137.                              ****************
  138.                      129     ; *                                               uC/OS-II
  139.                      130     ; *                                               实时内核
  140.                      131     ; *
  141.                      132     ; *                        (c) Copyright 1992-1998, Jean J. Labrosse, Plantation, FL
  142.                      133     ; *                                               版权所有
  143.                      134     ; *
  144.                      135     ; *                                            MCU-51 专用代码
  145.                      136     ; *                                           KEIL C51大模式编译
  146.                      137     ; *
  147.                      138     ; * 文件名 : OS_CPU_C.C
  148.                      139     ; * 作者   : Jean J. Labrosse
  149.                      140     ; * 改编   : 杨屹 gdtyy@ri.gdt.com.cn 巨龙公司系统集成开发部 2002.09.27
  150.                      141     ; * 改编   : 钟文青,杉兜接雞cOS-II 2.51的代码,2003.5
  151.                      142     ; *****************************************************************************************
  152.                              ****************
  153.                      143     ; */
  154.                      144     ; 
  155.                      145     ; #define  OS_CPU_GLOBALS
  156.                      146     ; #include "sourceincludes.h"
  157.                      147     ; 
  158.                      148     ; /*
  159.                      149     ; *****************************************************************************************
  160.                              ****************
  161.                      150     ; *                                        初始化任务堆栈
  162.                      151     ; *
  163.                      152     ; * 描述       : 这个函时籓STaskCreate()或OSTaskCreateExt()调用,以便初始化新创建任务的堆栈
  164.                              结构。本函