1) Mov (B) - Hitachi H8/300H Series Programming Manual

Table of Contents

Advertisement

2.2.35 (1) MOV (B)

MOV (MOVe data)
Operation
Rs → Rd
Assembly-Language Format
MOV.B Rs, Rd
Operand Size
Byte
Description
This instruction transfers one byte of data from an 8-bit register Rs to an 8-bit register Rd, tests
the transferred data, and sets condition-code flags according to the result.
Available Registers
Rd:
R0L to R7L, R0H to R7H
Rs:
R0L to R7L, R0H to R7H
Operand Format and Number of States Required for Execution
Addressing
Mnemonic
Mode
Register direct
MOV.B
Notes
Condition Code
H: Previous value remains unchanged.
N: Set to 1 if the data value is negative;
Z: Set to 1 if the data value is zero; otherwise
V: Always cleared to 0.
C: Previous value remains unchanged.
Operands
1st byte
Rs, Rd
0
C
111
I
UI H
U
— — — —
otherwise cleared to 0.
cleared to 0.
Instruction Format
2nd byte
3rd byte
rs
rd
Move
N
Z
V
C
0
No. of
States
4th byte
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents