Epson S5U1C63000A User Manual

Page 158

Advertising
background image

CHAPTER 8: DEBUGGER

144

EPSON

S5U1C63000A MANUAL

(S1C63 FAMILY ASSEMBLER PACKAGE)

8.8.3 Displaying and Modifying Program, Data, Option Data and Register

The debugger has functions to operate on the program memory, data memory, and registers, as well as
option data. 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 8.8.3.1 Commands to operate on program memory

Function

Command

Entering/modifying program code

pe

In-line assemble

a (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, data ROM, display
memory, I/O memory):

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

Advertising