Mov(Move Data) (Word) - Renesas H8/300 Series Programming Manual

Table of Contents

Advertisement

MOV (MOVe data) (word)
<Operation>
Rs → Rd
<Assembly-Language Format>
MOV.W Rs, Rd
<Examples>
MOV.W R3, R4
<Operand Size>
Word
<Description>
This instruction moves one word of data from a source register to a destination register and
sets condition code flags according to the data value.
<Instruction Formats>
Addressing
mode
Register direct
Mnem.
Operands
MOV.W
Rs, Rd
<Condition Code>
I
— — — —
I: Previous value remains unchanged.
H: Previous value remains unchanged.
N: Set to "1" if the data value is negative;
otherwise cleared to "0."
Z: Set to "1" if the data value is zero;
otherwise cleared to "0."
V: Cleared to "0."
C: Previous value remains unchanged.
Instruction code
1st byte
2nd byte
0
D
0 rs 0 rd
83
H
N
Z
3rd byte
4th byte
MOV
V
C
0
No. of
states
2

Advertisement

Table of Contents
loading

Table of Contents