Pm (Program Memory Move) - Epson S5U1C63000A User Manual

Cmos 4-bit single chip microcomputer manual
Table of Contents

Advertisement

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>
(2) >pm
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
0
address3
Examples
Format (1)
>pm 200 2ff 280
Format (2)
>pm
Start address ? 200
End address ? 2ff
Destination address ? 280
>
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 : Address out of range, use 0-0xXXXX
• 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
S5U1C63000A MANUAL
(S1C63 FAMILY ASSEMBLER PACKAGE)
(direct input mode)
(guidance mode)
address2
last program memory address
last program memory address
... Copies the codes within the range from address 0x200 to address 0x2ff
to the area from address 0x280.
... Source area start address is input.
... Source area end address is input.
... Destination area start address is input.
(no such symbol / symbol type error)
EPSON
CHAPTER 8: DEBUGGER
163

Advertisement

Table of Contents
loading

Table of Contents