or.
OR Record
or. RT,RA,RB
Performs a bitwise OR operation on the contents of two registers and updates the condition register.
Details
For or., the bitwise OR of the contents of register RA and RB is placed into register RT.
Programming Note
The or. instruction performs a bitwise OR operation between two registers, storing the result in another register. This instruction does not require any special alignment and can be executed at any privilege level. It is commonly used for combining flags or setting specific bits in a register.
Example
or. r3, r4, r5
Encoding
Binary Layout
18
0
LI
6
AA
30
LK
31
Operands
-
RT
Target General Purpose Register -
RA
Source General Purpose Register -
RB
Source General Purpose Register