COPY
Rabbit 4000 Instruction
|
|
ED 80
|
COPY
|
("i" is the number of bytes
copied)
|
(PY) = (PX)
BC = BC - 1
PY = PY + 1
PX = PX + 1
repeat while {BC != 0}
|
Description
This is a physical address block copy operation. It copies the number of bytes specified in BC starting
from the address in PX to the address in PY, incrementing PY and PX for each successive byte.
Putting a physical address in the index registers means that the memory management unit (MMU) is not
used by this instruction. Also, interrupts are possible between loops.