![]() |
|
| << Previous | Next >> | |
| | |
OR r Bitwise OR Rabbit 4000/5000 Instruction
-- OR r A = A | r 7F B0 OR B A = A | B 7F B1 OR C A = A | C 7F B2 OR D A = A | D 7F B3 OR E A = A | E 7F B4 OR H A = A | H 7F B5 OR L A = A | L
Description
Performs a bitwise OR operation between A and r (any of 8-bit registers B, C, D, E, H, L) and stores the result in A.
The Rabbit 4000/5000 assemblers view "OR A,r" and "OR r" as equivalent instructions.
The opcodes for these instructions are different than the same instructions in the Rabbit 2000, 3000 and 3000A.
Example
If the value in A is 0100 1100 and the value in B is 0101 0001, the operation:
OR A,B
| Rabbit Instructions | << Previous | Next >> | rabbit.com |