English
Language : 

H8S2148 Datasheet, PDF (976/1177 Pages) Renesas Technology Corp – Renesas 16-Bit Single-Chip Microcomputer H8S Family/H8S/2100 Series
Appendix A Instruction Set
3. Logic Instructions
Addressing Mode and
Instruction Length (Bytes)
Mnemonic
Operation
AND
OR
XOR
NOT
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
B2
B
2
W4
W
2
L6
L
4
B2
B
2
W4
W
2
L6
L
4
B2
B
2
W4
W
2
L6
L
4
B
2
W
2
L
2
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
¬ ERd32→ERd32
Condition Code
No. of
States*1
I HNZVC
——
——
——
——
——
——
——
——
——
——
——
——
——
——
——
——
——
——
——
——
——
0— 1
0— 1
0— 2
0— 1
0— 3
0— 2
0— 1
0— 1
0— 2
0— 1
0— 3
0— 2
0— 1
0— 1
0— 2
0— 1
0— 3
0— 2
0— 1
0— 1
0— 1
Rev. 4.00 Sep 27, 2006 page 932 of 1130
REJ09B0327-0400