beautypg.com

4 data memory operation, Dd (data memory dump), Dw (data memory watch) – Epson S5U1C63000A User Manual

Page 178: 5 command to display option information

background image

CHAPTER 8: DEBUGGER

164

EPSON

S5U1C63000A MANUAL

(S1C63 FAMILY ASSEMBLER PACKAGE)

8.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

0xffff

Display

(1) When [data] window is opened

If both and are not defined,
the [Data] window is redisplayed beginning with
address 0x0000.
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 0xff08 for ,
data is displayed beginning with address 0xff00.

However, if an address near the uppermost part of data memory (e.g. maximum address is 0xffff),
such as 0xffc0, is specified as , the last line displayed in the window in this case is 0xfff0,
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 and both defining and
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: A A A A D C 0 3 A A A A A A A A
0010: A A A A A A A A A A A A A A A A
: : :
00E0: A A A A A A A A A A A A A A A A
00F0: A A A A A A A A A A A A A A A A
>

If only is defined, the debugger displays data for 256 words from .

>dd ff00

FF00: 0 0 3 * 0 0 0 2 0 0 1 0 2 0 * *
FF10: * * * * * * * * * * * * * * * *
: : :
FFE0: 0 0 0 0 0 0 0 0 * * * * * * * *
FFF0: 0 0 0 0 0 0 0 0 * * * * * * * *
>

"

" indicates an unused address.