Hitachi F-ZTAT H8/3039 Series Hardware Manual page 574

Single-chip microcomputer
Table of Contents

Advertisement

Table A-1 Instruction Set (cont)
3.
Logic instructions
Mnemonic
AND.B #xx:8, Rd
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.B Rs, Rd
OR.W #xx:16, Rd
OR.W Rs, Rd
OR.L #xx:32, ERd
OR.L ERs, ERd
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.B Rd
NOT.W Rd
NOT.L ERd
568
Operation
Rd8∧#xx:8 → Rd8
B
Rd8∧Rs8 → Rd8
B
W Rd16∧#xx:16 → Rd16
W Rd16∧Rs16 → Rd16
ERd32∧#xx:32 → ERd32
L
ERd32∧ERs32 → ERd32
L
Rd8∨#xx:8 → Rd8
B
Rd8∨Rs8 → Rd8
B
W Rd16∨#xx:16 → Rd16
W Rd16∨Rs16 → Rd16
ERd32∨#xx:32 → ERd32
L
ERd32∨ERs32 → ERd32
L
Rd8⊕#xx:8 → Rd8
B
Rd8⊕Rs8 → Rd8
B
W Rd16⊕#xx:16 → Rd16
W Rd16⊕Rs16 → Rd16
ERd32⊕#xx:32 → ERd32
L
ERd32⊕ERs32 → ERd32
L
¬ Rd8 → Rd8
B
W ¬ Rd16 → Rd16
¬ Rd32 → Rd32
L
Addressing Mode and
Instruction Length (bytes)
2
2
4
2
6
4
2
2
4
2
6
4
2
2
4
2
6
4
2
2
2
No. of
States
Condition Code
I
H N Z
V C
— —
0 —
— —
0 —
— —
0 —
— —
0 —
— —
0 —
— —
0 —
— —
0 —
— —
0 —
— —
0 —
— —
0 —
— —
0 —
— —
0 —
— —
0 —
— —
0 —
— —
0 —
— —
0 —
— —
0 —
— —
0 —
— —
0 —
— —
0 —
— —
0 —
*1
2
2
4
2
6
4
2
2
4
2
6
4
2
2
4
2
6
4
2
2
2

Advertisement

Table of Contents
loading

This manual is also suitable for:

F-ztat h8/3039F-ztat h8/3038F-ztat h8/3037F-ztat h8/3036

Table of Contents