<< Previous | Next >>

> OR A Bitwise OR Rabbit 2000/3000/4000 Instruction

> Opcode | Instruction | Clocks | Operation
> B7 | OR A | 2 | A = A | A

> Flags | ALTD | IOI/IOE
> S | Z | L/V | C | F | R | SP | S | D
> · | · | L | 0 | · | · |  |  |

> #### Description

> Performs a bitwise OR operation between A and A. All of the flags are affected and A remains unchanged.

> #### Example

> The "OR A" operation results in the following:

> If A = 0x7F, S=0; Z=0; L/V=1; C=0.
> If A = 0x80, S=1; Z=0; L/V=1; C=0.
> If A = 0x00, S=0; Z=1; L/V=0; C=0.

<< Previous | Next >>