160 EPSON S5U1C62000A MANUAL
(S1C60/62 FAMILY ASSEMBLER PACKAGE)
CHAPTER 9: DEBUGGER
pm (program memory move)
Function
This command copies the content of a specified program memory area to another area.
Format
(1) >pm <address1> <address2> <address3>(direct input mode)
(2) >pm(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 program memory address
0 address3 last program memory address
Examples
Format (1)
>pm 200 2FF 280... Copies the codes within the range from address 0x200 to address 0x2ff
to the area from address 0x280.
Format (2)
>pm
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
The addresses you specified must be within the range of the program memory area available with
each microcomputer model.
An error results if the input one is not a hexadecimal number or not a valid symbol.
Error : invalid value.
An error results if the limit is exceeded.
Error : Program address out of range.
If any portion of the destination area to be copied to is outside the program memory, no code is
copied to that area and results in an error, and no copy operation is done.
Error : no mapping area.
An error results if the start address is larger than the end address.
Error : end address < start address.
When the contents of the program memory is modified using the pm command, the contents of the
[Source] window are updated automatically.
Although the contents of the unassemble display are modified by rewriting code, those of source
display remain unchanged.
GUI utility
None