Pm (program memory move), Dm (data memory move) – Epson S5U1C63000A User Manual

Page 177

Advertising
background image

CHAPTER 8: DEBUGGER

S5U1C63000A MANUAL

EPSON

163

(S1C63 FAMILY ASSEMBLER PACKAGE)

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

(no such symbol / symbol type error)

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

Advertising