Move Memory Block - Motorola M68EVB912B32 User Manual

Table of Contents

Advertisement

OPERATION
MOVE
syntax:
MOVE
<StartAddress>
where:
<StartAddress>
<EndAddress>
<DestAddress>
The MOVE command is used to move a block of memory from one location to another, one byte
at a time. The number of bytes moved is one more than the <EndAddress> - <StartAddress>.
The block of memory beginning at the destination address may overlap the memory block
defined by the <StartAddress> and <EndAddress>.
One of the uses of the MOVE command might be to copy a program from RAM into the on-chip
EEPROM memory.
restrictions:
A minimum of one byte may be moved if the <StartAddress> is equal to the <EndAddress>. The
maximum number of bytes that may be moved is 2
Caution should be exercised when moving target memory while user code is running.
Accidentally modifying target memory containing program code could lead to program runaway.
example:
>MOVE 800 8ff 1000
>
3-40

Move Memory Block

<EndAddress>
is a 16-bit hexadecimal number.
is a 16-bit hexadecimal number.
is a 16-bit hexadecimal number.
16
<DestAddress>
- 1.
MOVE
68EVB912B32UM/D

Advertisement

Table of Contents
loading

Table of Contents