Epson S5U1C62000A User Manual

Page 156

Advertising
background image

144

EPSON

S5U1C62000A MANUAL

(S1C60/62 FAMILY ASSEMBLER PACKAGE)

CHAPTER 9: DEBUGGER

9.8.3 Displaying and Modifying Program, Data, and Register

The debugger has functions to operate on the program memory, data memory, and registers. Each
memory area is set to the debugger according to the map information that is given in a parameter file.

Operating on program memory area

The following operations can be performed on the program memory area:

Table 9.8.3.1 Commands to operate on program memory

Function

Command

Entering/modifying program code

pe

In-line assemble

as

Rewriting specified area

pf

Copying specified area

pm

(1) Entering/modifying program code

The program code at a specified address is modified by entering hexadecimal data.

(2) In-line assemble

The program code at a specified address is modified by entering a mnemonic code.

(3) Rewriting specified area

An entire specified area is rewritten with specified code.

(4) Copying specified area

The content of a specified area is copied to another area.

Operating on data memory area

The following operations can be performed on the data memory areas (RAM, display memory, I/O
memory):

Table 9.8.3.2 Commands/menu item to operate on data memory

Function

Command

Menu

Dumping data memory

dd

[View | Data Dump]

Entering/modifying data

de

Rewriting specified area

df

Copying specified area

dm

(1) Dumping data memory

The contents of the data memory are displayed
in hexadecimal dump format. If the [Data]
window is opened, the contents of the [Data]
window are updated; if not, the contents of the
data memory are displayed in the [Command]
window.

(2) Entering/modifying data

Data at a specified address is rewritten by
entering hexadecimal data. Data can be directly
modified on the [Data] window.

(3) Rewriting specified area

An entire specified area is rewritten with
specified data.

(4) Copying specified area

The content of a specified area is copied to
another area.

Advertising