Renesas H8/300 Series Programming Manual page 83

Table of Contents

Advertisement

EEPMOV (MOV data to EEPROM)
<Instruction Formats>
Addressing
mode
* 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.
R5 →
R5 + R4L →
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 →
Mnem.
Operands
EEPMOV
H'FFFF
Not allowed
Instruction code
1st byte
2nd byte
7
B
5
C
← R6
← R6 + R4L
← R6
← R6 + R4L
77
EEPMOV
3rd byte
4th byte
5
9
8
F
No. of
states
8+4n*

Advertisement

Table of Contents
loading

Table of Contents