DP805x Instructions set details
- 77 -
3.44. XRL
Instruction:
Function:
XRL <dest-byte>, <src-byte>
Logical Exclusive OR for byte variables
Description: XRL performs the bit wise logical Exclusive OR operation between the
indicated variables, storing the results in the destination. No flags are
affected (except P, if <dest-byte> = A).
The two operands allow six addressing mode combinations. When the
destination is the accumulator, the source can use register, direct,
register-indirect, or immediate addressing; when the destination is a
direct address, the source can be accumulator or immediate data.
Note:
When this instruction is used to modify an output port, the value used
as the original port data will be read from the output data latch, not the
input pins.
3.44.1.
XRL A, RN
Operation:
(PC) ← (PC) + 1
(A) ← (A) xor (Rn)
Bytes:
Cycles:
1
1
Encoding:
0
1
1
0
1
r
r
r
3.44.2.
XRL A, DIRECT
Operation: (PC) ← (PC) + 2
(A) ← (A) xor (direct)
Bytes:
Cycles:
2
2
Encoding:
0
1
1
0
0
1
0
1
direct address
All trademarks mentioned in this document
are trademarks of their respective owners.
http://www.DigitalCoreDesign.com
http://www.dcd.pl
Copyright 1999-2003 DCD – Digital Core Design. All Rights Reserved.