The PG5 map file don’t display the right number for code segment size.

FAQ #100558

See the example below.

 

Is this a bug ?

                   CODE    CODE    TXT/DB  EXTEN
MODULE  START   SEG     SEG     SEG     ASSEMBLY         MODULE
NUMBER  LINE    LINES   BYTES   BYTES   DATE AND TIME    NAME
--------------------------------------------------------------------------------
1       0       0       20      0       07/05/06 17:44   _test.src
2       0       48      0       0       07/05/06 21:10   test3.fbd
3       48      36      12      0       10/25/03 23:16   sfuplib3.srl
--------------------------------------------------------------------------------

CODE SEGMENT SIZE:      108 LINES (432 BYTES)
TEXT/DB SEGMENT SIZE:   32 BYTES
EXTENSION MEM SIZE:     0 BYTES
GLOBAL SYMBOLS:         47

Answer:

The final CODE SEG SIZE also includes the $INIT code, and the FBs generated by S-Asm.

It is not a bug.

Categories

PG5 1.x

Last update: 31.05.2015 06:58

First release: 15.05.2006 08:24

Views: 971

The requested software / document is no longer marketed by Saia-Burgess Controls AG and without technical support. It is an older software version which can be operated only on certain now no longer commercially available products.

Download