 8051 Instruction Set Manual |
|
| XRLThe XRL instruction performs a logical exclusive OR operation between the specified operands. The result is stored in the destination operand. Note When this instruction is used to modify an output port, the value used as the port data is read from the output data latch, not the pins of the port. See Also: ANL, ORL | Bytes | 2 | | Cycles | 1 | | Encoding | | | Operation |
XRL
A = A XOR immediate
| | Example |
XRL A, #0FFh
|
| Bytes | 1 | | Cycles | 1 | | Encoding | | | Operation |
XRL
A = A XOR (Ri)
| | Example |
XRL A, @R0
|
| Bytes | 2 | | Cycles | 1 | | Encoding | | | Operation |
XRL
A = A XOR (direct)
| | Example |
XRL A, 34h
|
| Bytes | 1 | | Cycles | 1 | | Encoding | | | Operation |
XRL
A = A XOR Rn
| | Example |
XRL A, R7
|
| Bytes | 3 | | Cycles | 2 | | Encoding | | | Operation |
XRL
(direct) = (direct) XOR immediate
| | Example |
XRL 34H, #0FFh
|
| Bytes | 2 | | Cycles | 1 | | Encoding | | | Operation |
XRL
(direct) = (direct) XOR A
| | Example |
XRL 34h, A
|
Related Knowledgebase Articles |
|