Epson S5U1C62000A Computer Hardware User Manual


 
166 EPSON S5U1C62000A MANUAL
(S1C60/62 FAMILY ASSEMBLER PACKAGE)
CHAPTER 9: DEBUGGER
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 last data memory address, 0 address3 last data memory address
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.
An error results if the limit is exceeded.
Error : Data address out of range.
•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.
An error results if there is an unused area in the specified source or destination area, and no copy
operation will be done.
Error : no mapping area.
•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