COPY
Rabbit 4000/5000 Instruction
|
| ED 80 |
COPY |
(PY) = (PX) BC = BC - 1 PY = PY + 1 PX = PX + 1 repeat while {BC != 0} |
1
"i" is the number of bytes copied
|
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.