SYMBOLS

Abbreviation

SB

Arguments

None.

Default

NOSYMBOLS

Description

The SYMBOLS directive instructs the compiler to generate a list of all symbols used in and by the program module being compiled. This list is included in the listing file. The memory category, memory type, offset, and size are listed for each symbolic object.

Example

#pragma SYMBOLS

The following excerpt from a listing file shows the symbol listing:

.
.
.
NAME CLASS MSPACE TYPE OFFSET SIZE
==== ===== ====== ==== ====== ====
EA . . . . . . . . . . ABSBIT ----- BIT 00AFH 1
update . . . . . . . . PUBLIC CODE PROC ----- -----
dtime. . . . . . . . PARAM DATA PTR 0000H 3
setime . . . . . . . . PUBLIC CODE PROC ----- -----
mode . . . . . . . . PARAM DATA PTR 0000H 3
dtime. . . . . . . . PARAM DATA PTR 0003H 3
setuptime. . . . . . AUTO DATA STRUCT 0006H 3
time . . . . . . . . . * TAG * ----- STRUCT ----- 3
hour . . . . . . . . MEMBER DATA U_CHAR 0000H 1
min. . . . . . . . . MEMBER DATA U_CHAR 0001H 1
sec. . . . . . . . . MEMBER DATA U_CHAR 0002H 1
SBUF . . . . . . . . . SFR DATA U_CHAR 0099H 1
ring . . . . . . . . . PUBLIC DATA BIT 0001H 1
SCON . . . . . . . . . SFR DATA U_CHAR 0098H 1
TMOD . . . . . . . . . SFR DATA U_CHAR 0089H 1
TCON . . . . . . . . . SFR DATA U_CHAR 0088H 1
mnu. . . . . . . . . . PUBLIC CODE ARRAY 00FDH 119
.
.
.