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 [<address1> [<address2>]]
↵
(direct input mode)
<address1>: Start address to display; hexadecimal or symbol (IEEE-695 format only)
<address2>: 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 <address1> and <address2> are not defined,
the [Data] window is redisplayed beginning with
address 0x000.
If <address1> is defined , or even <address2> is
defined, the [Data] window is redisplayed in such a
way that <address1> is displayed at the uppermost
line.
Even when <address1> 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 <address1>,
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 <address1>, 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 <address2> does
not have any specific effect. Only defining <ad-
dress1> and both defining <address1> and <ad-
dress2> has same display result.
(2) When [Data] window is closed
If both <address1> and <address2> 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.