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

📄 main.lst

📁 无线单片机cc2430简化协议的无线收发程序
💻 LST
字号:
##############################################################################
#                                                                            #
# IAR 8051 C/C++ Compiler V7.20H/W32                   11/Dec/2008  13:41:48 #
# Copyright 2004-2006 IAR Systems. All rights reserved.                      #
#                                                                            #
#    Core               =  plain                                             #
#    Code model         =  near                                              #
#    Data model         =  large                                             #
#    Calling convention =  xdata reentrant                                   #
#    Constant location  =  data                                              #
#    Dptr setup         =  1,16                                              #
#    Source file        =  D:\zigbee\演示程序\简化协议的无线收发演示\demo_pr #
#                          o\src\main.c                                      #
#    Command line       =  -lC D:\zigbee\演示程序\简化协议的无线收发演示\dem #
#                          o_pro\Debug\List\ -lA D:\zigbee\演示程序\简化协议 #
#                          的无线收发演示\demo_pro\Debug\List\ -o            #
#                          D:\zigbee\演示程序\简化协议的无线收发演示\demo_pr #
#                          o\Debug\Obj\ -e -z2 --no_cse --no_unroll          #
#                          --no_inline --no_code_motion --no_tbaa --debug    #
#                          --core=plain --dptr=16,1 --data_model=large       #
#                          --code_model=near --calling_convention=xdata_reen #
#                          trant --place_constants=data --nr_virtual_regs 8  #
#                          -I "C:\Program Files\IAR Systems\Embedded         #
#                          Workbench 4.05 Evaluation version\8051\INC\" -I   #
#                          "C:\Program Files\IAR Systems\Embedded Workbench  #
#                          4.05 Evaluation version\8051\INC\CLIB\"           #
#                          D:\zigbee\演示程序\简化协议的无线收发演示\demo_pr #
#                          o\src\main.c                                      #
#    List file          =  D:\zigbee\演示程序\简化协议的无线收发演示\demo_pr #
#                          o\Debug\List\main.lst                             #
#    Object file        =  D:\zigbee\演示程序\简化协议的无线收发演示\demo_pr #
#                          o\Debug\Obj\main.r51                              #
#                                                                            #
#                                                                            #
##############################################################################

D:\zigbee\演示程序\简化协议的无线收发演示\demo_pro\src\main.c
      1          
      2          
      3          #include "msstate_lrwpan.h"
      4          #include "wllocate.h"
      5          
      6          
      7          //;#pragma segment="MYSEGMENTA"

   \                                 In segment NEAR_CODE, align 1, keep-with-next
      8          void main (void)
   \                     main:
      9          {
   \   000000                ; Auto size: 0
     10          	halInit();
   \   000000                ; Setup parameters for call to function halInit
   \   000000   12....       LCALL   halInit
     11          	evbInit();
   \   000003                ; Setup parameters for call to function evbInit
   \   000003   12....       LCALL   evbInit
     12          	conPrintROMString("Startup...\n");
   \   000006                ; Setup parameters for call to function conPrintROMString_func
   \   000006   7A..         MOV     R2,#(??xxxxromstr & 0xff)
   \   000008   7B..         MOV     R3,#((??xxxxromstr >> 8) & 0xff)
   \   00000A   12....       LCALL   conPrintROMString_func
     13          
     14              debug_level = 10;
   \   00000D   740A         MOV     A,#0xa
   \   00000F   90....       MOV     DPTR,#debug_level
   \   000012   F0           MOVX    @DPTR,A
     15              phyInit();
   \   000013                ; Setup parameters for call to function phyInit
   \   000013   12....       LCALL   phyInit
     16              macInit();
   \   000016                ; Setup parameters for call to function macInit
   \   000016   12....       LCALL   macInit
     17          	
     18          	conPrintConfig();
   \   000019                ; Setup parameters for call to function conPrintConfig
   \   000019   12....       LCALL   conPrintConfig
     19          	ENABLE_GLOBAL_INTERRUPT();  //enable interrupts
   \   00001C   D2AF         SETB    0xa8.7
     20          
     21          	EVB_LED1_OFF();
   \   00001E                ; Setup parameters for call to function evbLedSet
   \   00001E   7A00         MOV     R2,#0x0
   \   000020   7901         MOV     R1,#0x1
   \   000022   12....       LCALL   evbLedSet
     22          	EVB_LED2_OFF();
   \   000025                ; Setup parameters for call to function evbLedSet
   \   000025   7A00         MOV     R2,#0x0
   \   000027   7902         MOV     R1,#0x2
   \   000029   12....       LCALL   evbLedSet
     23          
     24                  macInitRadio();
   \   00002C                ; Setup parameters for call to function macInitRadio
   \   00002C   12....       LCALL   macInitRadio
     25          	macSetPANID(LRWPAN_DEFAULT_PANID);
   \   00002F                ; Setup parameters for call to function macSetPANID
   \   00002F   7A47         MOV     R2,#0x47
   \   000031   7B13         MOV     R3,#0x13
   \   000033   12....       LCALL   macSetPANID
     26          	macSetChannel(LRWPAN_DEFAULT_START_CHANNEL);
   \   000036                ; Setup parameters for call to function macSetChannel
   \   000036   790B         MOV     R1,#0xb
   \   000038   12....       LCALL   macSetChannel
     27          	macSetShortAddr(0);
   \   00003B                ; Setup parameters for call to function macSetShortAddr
   \   00003B   7A00         MOV     R2,#0x0
   \   00003D   7B00         MOV     R3,#0x0
   \   00003F   12....       LCALL   macSetShortAddr
     28          
     29          
     30          	conPrintROMString("Main loop ...\n");	
   \   000042                ; Setup parameters for call to function conPrintROMString_func
   \   000042   7A..         MOV     R2,#(??xxxxromstr_1 & 0xff)
   \   000044   7B..         MOV     R3,#((??xxxxromstr_1 >> 8) & 0xff)
   \   000046   12....       LCALL   conPrintROMString_func
     31          
     32          	#if 1
     33          	MainLoop();
   \   000049                ; Setup parameters for call to function MainLoop
   \   000049   12....       LCALL   MainLoop
     34          	#else
     35          	while (1)
     36              {
     37          	    macFSM();
     38          	}
     39          	#endif
     40          }
   \   00004C   22           RET

   \                                 In segment CODE_C, align 1
   \                     ??xxxxromstr:
   \   000000   53746172     DB "Startup...\012"
   \            7475702E
   \            2E2E0A00

   \                                 In segment CODE_C, align 1
   \                     ??xxxxromstr_1:
   \   000000   4D61696E     DB "Main loop ...\012"
   \            206C6F6F
   \            70202E2E
   \            2E0A00  

   \                                 In segment SFR_AN, at 0xa8
   \   union <unnamed> volatile __sfr _A_IEN0
   \                     _A_IEN0:
   \   000000                DS 1
     41          

   Maximum stack usage in bytes:

     Function                    ISTACK PSTACK XSTACK
     --------                    ------ ------ ------
     main                            0      0      0
       -> halInit                    0      0      0
       -> evbInit                    0      0      0
       -> conPrintROMString_func     0      0      0
       -> phyInit                    0      0      0
       -> macInit                    0      0      0
       -> conPrintConfig             0      0      0
       -> evbLedSet                  0      0      0
       -> evbLedSet                  0      0      0
       -> macInitRadio               0      0      0
       -> macSetPANID                0      0      0
       -> macSetChannel              0      0      0
       -> macSetShortAddr            0      0      0
       -> conPrintROMString_func     0      0      0
       -> MainLoop                   0      0      0


   Segment part sizes:

     Function/Label Bytes
     -------------- -----
     main             77
     xxxxromstr       12
     xxxxromstr       15
     _A_IEN0           1

 
 27 bytes in segment CODE_C
 77 bytes in segment NEAR_CODE
  1 byte  in segment SFR_AN
 
 104 bytes of CODE memory
   0 bytes of DATA memory (+ 1 byte shared)

Errors: none
Warnings: none

⌨️ 快捷键说明

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