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

📄 console.lst

📁 无线单片机cc2430简化协议的无线收发程序
💻 LST
📖 第 1 页 / 共 4 页
字号:
   \                     conPrintLADDR:
   \   000000   74F8         MOV     A,#-0x8
   \   000002   12....       LCALL   ?FUNC_ENTER_XDATA
   \   000005                ; Saved register size: 8
   \   000005                ; Auto size: 0
   \   000005   8A82         MOV     DPL,R2
   \   000007   8B83         MOV     DPH,R3
    172           BYTE *ptr;
    173          
    174           ptr = &laddr->bytes[0];
    175           conPrintLADDR_bytes(ptr);
   \   000009                ; Setup parameters for call to function conPrintLADDR_bytes
   \   000009   AA82         MOV     R2,DPL
   \   00000B   AB83         MOV     R3,DPH
   \   00000D   12....       LCALL   conPrintLADDR_bytes
    176          }
   \   000010   7F01         MOV     R7,#0x1
   \   000012   02....       LJMP    ?FUNC_LEAVE_XDATA
    177          

   \                                 In segment NEAR_CODE, align 1, keep-with-next
    178          void conPrintConfig(void){
   \                     conPrintConfig:
   \   000000   74F5         MOV     A,#-0xb
   \   000002   12....       LCALL   ?FUNC_ENTER_XDATA
   \   000005                ; Saved register size: 11
   \   000005                ; Auto size: 8
   \   000005   74F8         MOV     A,#-0x8
   \   000007   12....       LCALL   ?ALLOC_XSTACK8
    179            BYTE b[8];
    180          
    181            conPrintROMString("MSState LRWPAN Version 0.1");conPCRLF();
   \   00000A                ; Setup parameters for call to function conPrintROMString_func
   \   00000A   7A..         MOV     R2,#(??xxxxromstr_5 & 0xff)
   \   00000C   7B..         MOV     R3,#((??xxxxromstr_5 >> 8) & 0xff)
   \   00000E   12....       LCALL   conPrintROMString_func
   \   000011                ; Setup parameters for call to function conPCRLF
   \   000011   12....       LCALL   conPCRLF
    182            conPrintROMString("Coordinator, ");
   \   000014                ; Setup parameters for call to function conPrintROMString_func
   \   000014   7A..         MOV     R2,#(??xxxxromstr_6 & 0xff)
   \   000016   7B..         MOV     R3,#((??xxxxromstr_6 >> 8) & 0xff)
   \   000018   12....       LCALL   conPrintROMString_func
    183          
    184            conPrintROMString("Address: ");
   \   00001B                ; Setup parameters for call to function conPrintROMString_func
   \   00001B   7A..         MOV     R2,#(??xxxxromstr_7 & 0xff)
   \   00001D   7B..         MOV     R3,#((??xxxxromstr_7 >> 8) & 0xff)
   \   00001F   12....       LCALL   conPrintROMString_func
    185            halGetProcessorIEEEAddress(b);
   \   000022                ; Setup parameters for call to function halGetProcessorIEEEAddress
   \   000022   85..82       MOV     DPL,?XSP + 0
   \   000025   85..83       MOV     DPH,?XSP + 1
   \   000028   AA82         MOV     R2,DPL
   \   00002A   AB83         MOV     R3,DPH
   \   00002C   12....       LCALL   halGetProcessorIEEEAddress
    186            conPrintLADDR_bytes(b);
   \   00002F                ; Setup parameters for call to function conPrintLADDR_bytes
   \   00002F   85..82       MOV     DPL,?XSP + 0
   \   000032   85..83       MOV     DPH,?XSP + 1
   \   000035   AA82         MOV     R2,DPL
   \   000037   AB83         MOV     R3,DPH
   \   000039   12....       LCALL   conPrintLADDR_bytes
    187            conPCRLF();
   \   00003C                ; Setup parameters for call to function conPCRLF
   \   00003C   12....       LCALL   conPCRLF
    188            conPrintROMString("Default PAN: ");
   \   00003F                ; Setup parameters for call to function conPrintROMString_func
   \   00003F   7A..         MOV     R2,#(??xxxxromstr_8 & 0xff)
   \   000041   7B..         MOV     R3,#((??xxxxromstr_8 >> 8) & 0xff)
   \   000043   12....       LCALL   conPrintROMString_func
    189            conPrintUINT32(LRWPAN_DEFAULT_PANID);
   \   000046                ; Setup parameters for call to function conPrintUINT32
   \   000046   90....       MOV     DPTR,#__Constant_1347
   \   000049   78..         MOV     R0,#?V0 + 0
   \   00004B   12....       LCALL   ?L_MOV_X
   \   00004E   AA..         MOV     R2,?V0 + 0
   \   000050   AB..         MOV     R3,?V0 + 1
   \   000052   AC..         MOV     R4,?V0 + 2
   \   000054   AD..         MOV     R5,?V0 + 3
   \   000056   12....       LCALL   conPrintUINT32
    190            conPrintROMString(",Default Channel: ");
   \   000059                ; Setup parameters for call to function conPrintROMString_func
   \   000059   7A..         MOV     R2,#(??xxxxromstr_9 & 0xff)
   \   00005B   7B..         MOV     R3,#((??xxxxromstr_9 >> 8) & 0xff)
   \   00005D   12....       LCALL   conPrintROMString_func
    191            conPrintUINT8(LRWPAN_DEFAULT_START_CHANNEL);
   \   000060                ; Setup parameters for call to function conPrintUINT8
   \   000060   790B         MOV     R1,#0xb
   \   000062   12....       LCALL   conPrintUINT8
    192            conPCRLF();
   \   000065                ; Setup parameters for call to function conPCRLF
   \   000065   12....       LCALL   conPCRLF
    193            conPCRLF();
   \   000068                ; Setup parameters for call to function conPCRLF
   \   000068   12....       LCALL   conPCRLF
    194          
    195          }
   \   00006B   7408         MOV     A,#0x8
   \   00006D   12....       LCALL   ?DEALLOC_XSTACK8
   \   000070   7F04         MOV     R7,#0x4
   \   000072   02....       LJMP    ?FUNC_LEAVE_XDATA

   \                                 In segment CODE_C, align 1
   \                     ??xxxxromstr_5:
   \   000000   4D535374     DB "MSState LRWPAN Version 0.1"
   \            61746520
   \            4C525750
   \            414E2056
   \            65727369
   \            6F6E2030
   \            2E3100  

   \                                 In segment CODE_C, align 1
   \                     ??xxxxromstr_6:
   \   000000   436F6F72     DB "Coordinator, "
   \            64696E61
   \            746F722C
   \            2000    

   \                                 In segment CODE_C, align 1
   \                     ??xxxxromstr_7:
   \   000000   41646472     DB "Address: "
   \            6573733A
   \            2000    

   \                                 In segment CODE_C, align 1
   \                     ??xxxxromstr_8:
   \   000000   44656661     DB "Default PAN: "
   \            756C7420
   \            50414E3A
   \            2000    

   \                                 In segment CODE_C, align 1
   \                     ??xxxxromstr_9:
   \   000000   2C446566     DB ",Default Channel: "
   \            61756C74
   \            20436861
   \            6E6E656C
   \            3A2000  

   \                                 In segment XDATA_I, align 1, keep-with-next
   \                     __Constant_1347:
   \   000000                DS 4
   \   000004                REQUIRE `?<Initializer for __Constant_1347>`
   \   000004                REQUIRE __INIT_XDATA_I

   \                                 In segment XDATA_ID, align 1, keep-with-next
   \                     `?<Initializer for __Constant_1347>`:
   \   000000   47130000     DD 4935
    196          

   Maximum stack usage in bytes:

     Function                       ISTACK PSTACK XSTACK
     --------                       ------ ------ ------
     ConsolePutInitData                 0      0     17
       -> halPutch                      0      0     34
       -> halPutch                      0      0     34
       -> halPutch                      0      0     34
       -> halPutch                      0      0     34
     ConsolePutInitDataWithoutRtn       0      0     17
       -> halPutch                      0      0     34
       -> halPutch                      0      0     34
     conPCRLF                           0      0     19
       -> conPrintROMString_func        0      0      0
     conPrintConfig                     0      0     19
       -> conPrintROMString_func        0      0     38
       -> conPCRLF                      0      0     38
       -> conPrintROMString_func        0      0     38
       -> conPrintROMString_func        0      0     38
       -> halGetProcessorIEEEAddress
                                        0      0     38
       -> conPrintLADDR_bytes           0      0     38
       -> conPCRLF                      0      0     38
       -> conPrintROMString_func        0      0     38
       -> conPrintUINT32                0      0     38
       -> conPrintROMString_func        0      0     38
       -> conPrintUINT8                 0      0     38
       -> conPCRLF                      0      0     38
       -> conPCRLF                      0      0     38
     conPrintLADDR                      0      0      8
       -> conPrintLADDR_bytes           0      0     16
     conPrintLADDR_bytes                0      0     30
       -> conPrintROMString_func        0      0     22
       -> conPrintUINT8_noleader        0      0     22
     conPrintROMString_func             3      0     19
       -> halPutch                      4      0      0
       -> halPutch                      4      0      0
     conPrintString                     2      0      0
       -> halPutch                      4      0      0
       -> halPutch                      4      0      0
     conPrintUINT16                     0      0      8
       -> conPrintROMString_func        0      0     16
       -> conPrintUINT8_noleader        0      0     16
       -> conPrintUINT8_noleader        0      0     16
     conPrintUINT32                     0      0     34
       -> conPrintROMString_func        0      0     30
       -> conPrintUINT8_noleader        0      0     30
       -> conPrintUINT8_noleader        0      0     30
       -> conPrintUINT8_noleader        0      0     30
       -> conPrintUINT8_noleader        0      0     30
     conPrintUINT8                      1      0     19
       -> conPrintROMString_func        2      0      0
       -> conPrintUINT8_noleader        2      0      0
     conPrintUINT8_noleader             1      0     23
       -> halPutch                      0      0     16
       -> halPutch                      0      0     16
       -> halPutch                      0      0     16
       -> halPutch                      0      0     16


   Segment part sizes:

     Function/Label                 Bytes
     --------------                 -----
     debug_level                       1
     ConsolePutInitData              213
     ConsolePutInitDataWithoutRtn    246
     conPCRLF                          8
     xxxxromstr                        2
     conPrintROMString_func           37
     conPrintString                   34
     conPrintUINT8_noleader           65
     conPrintUINT8                    21
     xxxxromstr                        3
     conPrintUINT16                   39
     xxxxromstr                        3
     conPrintUINT32                   83
     xxxxromstr                        3
     conPrintLADDR_bytes              61
     xxxxromstr                        3
     conPrintLADDR                    21
     conPrintConfig                  117
     xxxxromstr                       27
     xxxxromstr                       14
     xxxxromstr                       10
     xxxxromstr                       14
     xxxxromstr                       19
     __Constant_1347                   4
     ?<Initializer for __Constant_1347>
                                       4

 
  98 bytes in segment CODE_C
 945 bytes in segment NEAR_CODE
   4 bytes in segment XDATA_I
   4 bytes in segment XDATA_ID
   1 byte  in segment XDATA_Z
 
 1 043 bytes of CODE  memory (+ 4 bytes shared)
     1 byte  of XDATA memory (+ 4 bytes shared)

Errors: none
Warnings: none

⌨️ 快捷键说明

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