2.2.35 (1) MOV (B)
MOV (MOVe data)
Move
Operation
Rs
→
Rd
Assembly-Language Format
MOV.B
Rs, Rd
Operand Size
Byte
Condition Code
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: Always cleared to 0.
C: Previous value remains unchanged.
I
UI
H
U
N
Z
V
C
—
—
—
—
↕
↕
0
—
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
Notes
Instruction Format
1st byte
2nd byte
3rd byte
4th byte
Register direct
MOV.B
Rs, Rd
0
C
rs
rd
2
No. of
States
Addressing
Mode
Mnemonic
Operands
111