![Hitachi H8/300L Series Programming Manual Download Page 108](http://html.mh-extra.com/html/hitachi/h8-300l-series/h8-300l-series_programming-manual_140475108.webp)
102
2.2.37 OR (inclusive OR logical)
Operation
Rd
∨
(EAs)
→
Rd
Assembly-Language Format
OR <EAs>, Rd
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 result is negative; otherwise cleared to 0.
Z:
Set to 1 when the result is zero; otherwise cleared to 0.
V:
Cleared to 0.
C:
Previous value remains unchanged.
Description
This instruction ORs the source operand with the contents of an 8-bit general register and places
the result in the general register.
Instruction Formats and Number of Execution States
Instruction code
Addressing
mode
Mnem.
Operands
1st byte
2nd byte
3rd byte 4th byte
No. of
states
Immediate
OR
#xx:8, Rd
C
rd
IMM
2
Register direct OR
Rs, Rd
1
4
rs
rd
2
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 ...