Hitachi H8/3672 Series Hardware Manual page 256

Single-chip microcomputer
Table of Contents

Advertisement

3. Logic instructions
Mnemonic
AND.B #xx:8, Rd
AND
AND.B Rs, Rd
AND.W #xx:16, Rd
AND.W Rs, Rd
AND.L #xx:32, ERd
AND.L ERs, ERd
OR.B #xx:8, Rd
OR
OR.B Rs, Rd
OR.W #xx:16, Rd
OR.W Rs, Rd
OR.L #xx:32, ERd
OR.L ERs, ERd
XOR
XOR.B #xx:8, Rd
XOR.B Rs, Rd
XOR.W #xx:16, Rd
XOR.W Rs, Rd
XOR.L #xx:32, ERd
XOR.L ERs, ERd
NOT
NOT.B Rd
NOT.W Rd
NOT.L ERd
Rev. 1.0, 03/01, page 232 of 280
Addressing Mode and
Instruction Length (bytes)
B
2
B
2
W
4
W
2
L
6
L
4
B
2
B
2
W
4
W
2
L
6
L
4
B
2
B
2
W
4
W
2
L
6
L
4
B
2
W
2
L
2
Operation
I
Rd8∧#xx:8 → Rd8
Rd8∧Rs8 → Rd8
Rd16∧#xx:16 → Rd16
Rd16∧Rs16 → Rd16
ERd32∧#xx:32 → ERd32
ERd32∧ERs32 → ERd32
Rd8⁄#xx:8 → Rd8
Rd8⁄Rs8 → Rd8
Rd16⁄#xx:16 → Rd16
Rd16⁄Rs16 → Rd16
ERd32⁄#xx:32 → ERd32
ERd32⁄ERs32 → ERd32
Rd8⊕#xx:8 → Rd8
Rd8⊕Rs8 → Rd8
Rd16⊕#xx:16 → Rd16
Rd16⊕Rs16 → Rd16
ERd32⊕#xx:32 → ERd32
ERd32⊕ERs32 → ERd32
¬ Rd8 → Rd8
¬ Rd16 → Rd16
¬ Rd32 → Rd32
No. of
*1
States
Condition Code
H
N
Z
V
C
0
2
0
2
0
4
0
2
0
6
0
4
0
2
0
2
0
4
0
2
0
6
4
0
0
2
0
2
0
4
0
2
0
6
0
4
0
2
0
2
0
2

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8/3672f-ztat hd64f3672H8/3670f-ztat hd64f3670

Table of Contents