95
2.2.32(5) MOV (move) data) (byte)
Operation
Rs
→
(EAd)
Assembly-Language Format
MOV .B Rs, <EAd>
Operand Size
Byte
Condition Code
I
H
N
Z
V
C
— —
—
—
∆
∆
0
—
I:
Previous value remains unchanged.
H:
Previous value remains unchanged.
N:
Set to 1 when the data value is negative; otherwise cleared to 0.
Z:
Set to I when the data value is zero; otherwise cleared to 0.
V:
Cleared to 0.
C:
Previous value remains unchanged.
Description
This instruction moves one byte of data from a source register to memory and sets condition
code flags according to the data value.
The MOV.B Rs, @-R7 instruction should never be used, because it leaves an odd value in the
stack pointer. See section 3.2.3 for details.
The instruction MOV.B RnH, @-Rn or MOV.B RnL, @-Rn decrements register Rn, then moves
the upper or lower byte of the decremented result to memory.
Instruction Formats and Number of Execution States
Instruction code
Addressing mode Mnem.
Operands
1st byte
2nd byte
3rd byte
4th byte
No. of
states
Register indirect
MOV.B
Rs, @Rd
6
8
1
rd
rs
4
Register indirect
with displacement
MOV.B
Rs,@(d:16,Rd) 6
E
1
rd
rs
disp.
6
Register indirect
with pre-decrement
MOV.B
Rs, @-Rd
6
C
1
rd
rs
6
Absolute address
MOV.B
Rs,@aa:8
3
rs
abs
4
Absolute address
MOV.B
Rs,@aa:16
6
A
8
rs
abs.
6
Summary of Contents for H8/300L Series
Page 1: ...H8 300L Series Programming Manual ...
Page 6: ...iv ...
Page 8: ...2 ...
Page 11: ......
Page 14: ......
Page 46: ......
Page 48: ......
Page 60: ......
Page 83: ......
Page 116: ......
Page 150: ...144 ...
Page 151: ......
Page 156: ...150 ...