CHAPTER 8: DEBUGGER

8.9.4 Data Memory Operationdd (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 0xffff

Display

(1) When [data] window is opened

If both <address1> and <address2> are not defined, the [Data] window is redisplayed beginning with address 0x0000.

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 0xff08 for <address1>, 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 <address1>, 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 <address2> does not have any specific effect. Only defining <address1> and both defining <address1> and <address2> 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: 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 <address1> is defined, the debugger displays data for 256 words from <address1>.

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

164

EPSON

S5U1C63000A MANUAL

 

 

(S1C63 FAMILY ASSEMBLER PACKAGE)