Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Map listing

&pagelevel(4)&pagelevel

The map listing is requested with the DATA-ALLOCATION-MAP option of the MODIFY-LISTING-PROPERTIES statement. It provides information on all the symbolic addresses used in the program (names of variables and functions).

******** MAP - LISTING ********    BS2000 C/C++ COMPILER 04.0B02    DATE:2023-04-02 PAGE: 3
                          SOURCENAME:*BS2000(MAINPROG)              TIME=17:37:33
___________________________________________________________________________________________
name                     stcl/type  size  slice  offs  xoffs    enuval   stroffs   xstroffs 
a                        nospec        4      1   104 0x0068         -         -          -
                         class
aptr                     auto          4      1    24 0x0018         -         -          -
                         pointer to class
b                        nospec        8      1   108 0x006C         -         -          -
                         class
bptr                     auto          4      1    28 0x001C         -         -          -
                         pointer to class
ii                       extern        4      -     -      -         -         -          -
                         signed int
ii                       auto          4      1    16 0x0010         -         -          -
                         signed int
jj                       extern        4      -     -      -         -         -          -
                         signed int
jj                       auto          4      1    20 0x0014         -         -          -
                         signed int
main                     nospec        0      1    48 0x0030         -         -          -
                         entry_var
string                   auto          4      1     8 0x0008         -         -          -
                         pointer to char
x                        param         4      -     -      -         -         -          -
                         signed int
x                        param         4      -     -      -         -         -          -
                         signed int
xx                       auto          4      1    12 0x000C         -         -          -
                         float
A                        nospec        4      -     -      -         -         -          -
                         class
B                        nospec        8      -     -      -         -         -          -
                         class
___________________________________________________________________________________________

Explanation

name

Name of the symbolic address.

stcl

storage class: Storage class of the symbolic address.
The following specifiers are used

auto

Variables at block level, excluding static variables

extern

External variables and functions that are defined in a different module

member

Elements of classes, structures or unions
Enumeration values

param

Function parameters

reg

Variables declared with the keyword register

static

Static variables at block level, i.e. that are valid at block level

statmem

Static element of a class

typedef

typedef Name

nospec

No storage class was specified

type

Data type of the symbolic address (in a separate line under the storage class).
Most entries are obvious. Special values are:

ass_proc

assignment Operator

bit

bitfield

entry_var

function

enum

enumeration type

enum_val

enumeration value

lab_const

label

mem_pointer

pointer to member

opr_func

operator function

tmpl

Template

tmpl_inst

Template Instanz

tmpl_par_cl

Template Parameter

size

Size of the variable in memory (in bytes).

slice

A slice is an area (code or data fragment) with a length of 4096 bytes that can be addressed via a base register.

The digit specifies in which slice of the data module the variable is located.

offs

Relative address within a slice (decimal).

xoffs

Relative address within a slice (hexadecimal).

enuval

For members of an enumeration type (enum), enuval specifies the value of the member.

stroffs

Byte position of the symbolic address within a structure (decimal).

xstroffs

Byte position of the symbolic address within a structure (hexadecimal).