Step - Step Over; Symbol - Symbol Name Management - Axiom CML-5485 Hardware User Manual

Application board for freescale mcf5485 mcu
Table of Contents

Advertisement

C M L - 5 4 8 5
U S E R
M A N U A L

STEP - Step Over

Usage:
STEP
The STEP command can be used to "step over" a subroutine call, rather than tracing every
instruction in the subroutine. The ST command sets a temporary software breakpoint one
instruction beyond the current program counter and then executes the target code.
The STEP command can be used to "step over" BSR and JSR instructions.
The STEP command will work for other instructions as well, but note that if the STEP
command is used with an instruction that will not return, i.e. BRA, then the temporary
breakpoint may never be encountered and dBUG may never regain control.
Examples:
To pass over a subroutine call, the command is:
step

SYMBOL - Symbol Name Management

Usage:
SYMBOL <symb> <-a symb value> <-r symb> <-c|l|s>
The SYMBOL command adds or removes symbol names from the symbol table. If only a
symbol name is provided to the SYMBOL command, then the symbol table is searched for a
match on the symbol name and its information displayed.
-a option adds a symbol name and its value into the symbol table.
-r option removes a symbol name from the table.
-c option clears the entire symbol table.
-l option lists the contents of the symbol table.
-s option displays usage information for the symbol table.
Symbol names contained in the symbol table are truncated to 31 characters. Any symbol table
lookups, either by the SYMBOL command or by the disassembler, will only use the first 31
characters. Symbol names are case-sensitive.
Symbols can also be added to the symbol table via in-line assembly labels and Ethernet
downloads of ELF formatted files.
Examples:
To define the symbol "main" to have the value 0x0004_0000, the command is:
symbol -a main 40000
To remove the symbol "junk" from the table, the command is:
V 1 . 0
38
0 6 / 2 2 / 0 5

Advertisement

Table of Contents
loading

Table of Contents