beautypg.com

4 data memory operation, Dd (data memory dump) – Epson S5U1C62000A User Manual

Page 173

background image

S5U1C62000A MANUAL

EPSON

161

(S1C60/62 FAMILY ASSEMBLER PACKAGE)

CHAPTER 9: DEBUGGER

9.9.4 Data Memory Operation

dd

(data memory dump)

Function

This command displays the content of the data memory in a 16 words/line hexadecimal dump format.

Format

>dd [ []]

(direct input mode)

: Start address to display; hexadecimal or symbol (IEEE-695 format only)
: End address to display; hexadecimal or symbol (IEEE-695 format only)
Condition:

0

address1

address2

last data memory address

Display

(1) When [Data] window is opened

If both and are not defined,
the [Data] window is redisplayed beginning with
address 0x000.
If is defined , or even is
defined, the [Data] window is redisplayed in such a
way that is displayed at the uppermost
line.
Even when specifies somewhere in 16
addresses/line, data is displayed beginning with
the top of that line. For example, even though you
may have specified address 0x118 for ,
data is displayed beginning with address 0x110.
However, if an address near the uppermost part of
data memory (e.g. maximum address is 0xfff), such
as 0xff5, is specified as , the last line
displayed in the window in this case is 0xff0, the
specified address is not at the top of the window.
Since the [Data] window can be scrolled to show
the entire data memory, defining does
not have any specific effect. Only defining dress1> and both defining and dress2> has same display result.

(2) When [Data] window is closed

If both and are not defined, the debugger displays data for 256 words from
address 0x000 in the [Command] window.

>dd

0 1 2 3 4 5 6 7 8 9 A B C D E F
0000: 0 c 1 0 0 0 0 0 0 0 0 0 0 0 0 0
0010: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0020: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
: : :
00e0:!0 0 f 0 / / / / / / / / / / / /
00f0:!0!0!0!0!0 / / / 0 0 0 0 0 / / /
>

"/" indicates an unused address. "!" indicates that the address contains write-only bits or read-only
bits.