Using Symbols; To Add A Symbol To The Symbol Table - HP 68000 Series User Manual

Debugger/simulator
Table of Contents

Advertisement

Chapter 4: Viewing Code and Data

Using Symbols

Using Symbols
This section shows you how to:

To add a symbol to the symbol table

• Using the command line, enter:
Symbol Add
Enter the symbol data type, the symbol name, and optionally the base address
and the initial value; then, press the < Return> key.
Two types of symbols can be added:
Example
To add a program symbol of type int (default) as an alias for "num_checks",
enter the following:
Symbol Add nc Address &num_checks Fill_Mem -1
The "Fill_Mem -1" command places the value -1 in num_checks. Notice that
the Monitor window is not updated to reflect that change.
120
Add a symbol to the symbol table.
Display symbols.
Delete a symbol from the symbol table.
Program symbols, which are identical to variables defined in a C or
assembly program. These symbols must be given base addresses.
Debugger symbols, which may be used to aid and control the flow of the
debugger. These symbols are specified without a base address, and only
debugger commands and C expressions in macros can refer to them. They
cannot be referenced by the program in target memory.

Advertisement

Table of Contents
loading

This manual is also suitable for:

B1466

Table of Contents