Freescale Semiconductor Microcontrollers User Manual

Page 770

Advertising
background image

Debugger Engine Commands

Debugger Commands

770

Microcontrollers Debugger Manual

DB

The DB command displays the hexadecimal and ASCII values of the bytes in a specified
range of memory. The command displays one or more lines, depending on the address or
range specified. Each line shows the address of the first byte displayed in the line,
followed by the number of specified hexadecimal byte values. The hexadecimal byte
values are followed by the corresponding ASCII characters, separated by spaces. Between
the eighth and ninth values, a hyphen (-) replaces the space as the separator. Each non-
displayable character is represented by a period (.).

This command can be stopped by pressing the Esc key.

Usage

DB [address|range]

When address and range are omitted, the first longword displayed is taken from
the address following the last longword displayed by the most recent DB, DW, or
DL command, or from address 0x0000 (for the first DB,

DW

,

DL

command of a

session).

Components

Debugger engine.

Examples:

in>DB 0x8000..0x800F

8000: FE 80 45 FD 80 43 27 10-35 ED 31 EC 31 69 70 83

þ_Eý_C'.5н1м1ipƒ

Memory bytes are displayed in the Command Line component window, with
matching ASCII characters. So, it is necessary to open the Command Line
component before executing this command to see the dumped code.

in>DB &TCR

0012: 5A Z

displays the byte that is at the address of the TCR I/O register. I/O registers are
defined in a DEFAULT.REG file.

Advertising