Dm (data memory move), Rd (register display) – Epson S5U1C63000A User Manual

Page 183

Advertising
background image

CHAPTER 8: DEBUGGER

S5U1C63000A MANUAL

EPSON

169

(S1C63 FAMILY ASSEMBLER PACKAGE)

dm

(data memory move)

Function

This command copies the contents of the specified data memory area to another area.

Format

(1) >dm <address1> <address2> <address3>

(direct input mode)

(2) >dm

(guidance mode)

Start address ? <address1>

End address ? <address2>

Destination address ? <address3>

>

<address1>: Start address of source area to be copied from; hexadecimal or symbol (IEEE-695 format only)
<address2>: End address of source area to be copied from; hexadecimal or symbol (IEEE-695 format only)
<address3>: Address of destination area to be copied to; hexadecimal or symbol (IEEE-695 format only)
Condition:

0

address1

address2

0xffff, 0

address3

0xffff

Examples

Format (1)

>dm 200 2ff 280

... Copies data within the range from address 0x200 to address 0x2ff
to the area from address 0x280.

Format (2)

>dm

Start address ? 200

... Source area start address is input.

End address ? 2ff

... Source area end address is input.

Destination address 280

... Destination area start address is input.

>

Command execution can be canceled by entering only the [Enter] key and nothing else.

Notes

• All the addresses specified here must be within the range of the data memory area available with each

microcomputer model.
An error results if the input one is not a hexadecimal number or a valid symbol.

Error : invalid value

(no such symbol / symbol type error)

An error results if the limit is exceeded.

Error : Address out of range, use 0-0xFFFF

• Write operation is not performed to the read-only address of the I/O area.

• Data in the write-only area cannot be read. If the source area contains write-only address, 0 is written

to the corresponding destination. If the destination area contains read-only address, the data of that
address can not be rewritten. If the source and destination areas contain I/O address of mixed read-
only bits and write-only bits, either read or write operation can be executed for the corresponding
bits.

• When the contents of the data memory is modified using the dm command, the displayed contents of

the [Data] window are updated automatically.

GUI utility

None

Advertising