 | 8051 Instruction Set Manual |  |
|
|
| ORLThe ORL instruction performs a bitwise logical OR operation on the specified operands, the result of which is stored in the destination operand. Note When this instruction is used to modify an output port, the value used as the port data will be read from the output data latch, not the input pins of the port. See Also: ANL, XRL | Bytes | 2 | | Cycles | 1 | | Encoding | | | Operation |
ORL
A = A OR immediate
| | Example |
ORL A, #01h
|
| Bytes | 1 | | Cycles | 1 | | Encoding | | | Operation |
ORL
A = A OR (Ri)
| | Example |
ORL A, @R0
|
| Bytes | 2 | | Cycles | 1 | | Encoding | | | Operation |
ORL
A = A OR (direct)
| | Example |
ORL A, P0
|
| Bytes | 1 | | Cycles | 1 | | Encoding | | | Operation |
ORL
A = A OR Rn
| | Example |
ORL A, R5
|
| Bytes | 2 | | Cycles | 2 | | Encoding | | | Operation |
ORL
C = C OR NOT (bit)
| | Example |
ORL C, /22h
|
| Bytes | 2 | | Cycles | 2 | | Encoding | | | Operation |
ORL
C = C OR (bit)
| | Example |
ORL C, 22h
|
| Bytes | 3 | | Cycles | 2 | | Encoding | | | Operation |
ORL
(direct) = (direct) OR immediate
| | Example |
ORL P0, #01h
|
| Bytes | 2 | | Cycles | 1 | | Encoding | | | Operation |
ORL
(direct) = (direct) OR A
| | Example |
ORL P0, A
|
Related Knowledgebase Articles |
|