EEPMOV (MOV data to EEPROM)
EEPMOV
<Instruction Formats>
* n is the initial value in R4L (0
≤
n
≤
255). Although n bytes of data are transferred, memory
is accessed 2(n+1) times, requiring 4(n+1) states.
Notes on EEPMOV Instruction
1. The EEPMOV instruction is a block data transfer instruction. It moves the number of bytes
specified by R4L from the address specified by R5 to the address specified by R6.
2. When setting R4L and R6, make sure that the final destination address (R6 + R4L) does not
exceed H'FFFF. The value in R6 must not change from H'FFFF to H'0000 during execution
of the instruction.
R5
→
R5 + R4L
→
←
R6
←
R6 + R4L
H'FFFF
Not allowed
R5
→
R5 + R4L
→
←
R6
←
R6 + R4L
77
EEPMOV
7
B
5
C
5
9
8
F
8+4n*
Addressing
mode
Mnem.
Operands
1st byte
Instruction code
No. of
states
2nd byte
3rd byte
4th byte
Содержание H8/300 Series
Страница 2: ...H8 300 Programming Manual...