3) Or (L) - Hitachi H8/300H Series Programming Manual

Table of Contents

Advertisement

2.2.43 (3) OR (L)

OR (inclusive OR logical)
Operation
ERd ∨ (EAs) → ERd
Assembly-Language Format
OR.L <EAs>, ERd
Operand Size
Longword
Description
This instruction ORs the source operand with the contents of a 32-bit register ERd (destination
register) and stores the result in the 32-bit register ERd.
Available Registers
ERd: ER0 to ER7
ERs: ER0 to ER7
Operand Format and Number of States Required for Execution
Addressing
Mnemonic
Mode
Immediate
OR.L
Register direct
OR.L
Notes
Operands
1st byte
2nd byte
#xx:32,ERd
7
A
4
ERs, ERd
0
1
F
Condition Code
I
UI H
— — — —
H: Previous value remains unchanged.
N: Set to 1 if the result is negative; otherwise
cleared to 0.
Z: Set to 1 if the result is zero; otherwise
cleared to 0.
V: Always cleared to 0.
C: Previous value remains unchanged.
Instruction Format
3rd byte
4th byte
0 erd
0
6
4
0 ers 0 erd
141
Logical OR
U
N
Z
V
C
0
No. of
States
5th byte
6th byte
IMM
6
4

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents