Using Symbols; To Add A Symbol To The Symbol Table - HP B1476 68020 User Manual

Debugger/emulator
Table of Contents

Advertisement

Chapter 5: Viewing Code and Data

To add a symbol to the symbol table

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 type of symbols can be added:
Example
To add a program symbol named EOF of type int (default) at target memory
address 9ff0h and set the memory location to value -1:
Symbol Add EOF Address 9ff0h Fill_Mem -1
130
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:

B1476 68030

Table of Contents