how to find total xdata ocuiped in the obj files

Dear Sir
how to find the total xdata ocipied in the OBJ file at the time of linking or before .
Is Any settings in the compiler
please give me soultion for this
regards

girish

Parents
  • When you compile a C file, the compiler generates a .LST file. The following is included at the bottom:

    MODULE INFORMATION:   STATIC OVERLAYABLE
       CODE SIZE        =     30    ----
       CONSTANT SIZE    =     10    ----
       XDATA SIZE       =   ----    ----
       PDATA SIZE       =   ----    ----
       DATA SIZE        =   ----       2
       IDATA SIZE       =   ----    ----
       BIT SIZE         =   ----    ----
    END OF MODULE INFORMATION.
    

    I think this has what you are looking for.

    Jon

Reply
  • When you compile a C file, the compiler generates a .LST file. The following is included at the bottom:

    MODULE INFORMATION:   STATIC OVERLAYABLE
       CODE SIZE        =     30    ----
       CONSTANT SIZE    =     10    ----
       XDATA SIZE       =   ----    ----
       PDATA SIZE       =   ----    ----
       DATA SIZE        =   ----       2
       IDATA SIZE       =   ----    ----
       BIT SIZE         =   ----    ----
    END OF MODULE INFORMATION.
    

    I think this has what you are looking for.

    Jon

Children
More questions in this forum