Crossware

Table of Contents        Previous topic       Next topic       

MICROPROCESSOR INSTRUCTION REFERENCE->XRL

XRL    Bitwise Logical Exclusive OR

Assembler mnemonic: OR <destination>,<source>

XRL performs a bitwise logical exclusive OR between the source and destination variable and stores the result in the destination variable.

Formats:
    
DescriptionMnemonicBytesCycles
    
aExclusive Or Immediate Data:XRL A,#<data>21
bExclusive Or Indirect Address:XRL A,@Ri11
cExclusive Or Register:XRL A,Rn11
dExclusive Or Memory:XRL A,<direct address>21
eExclusive Or Immediate to memory:XRL <direct addr>,#<data>32
fExclusive Or Accumulator to memory:XRL <direct address>,A21

where Ri is R0 or R1 and Rn is R0 - R7 and '/' means logical complement of address bit.

PSW:CACF0RS1RS0OVP
a-dN/AN/AN/AN/AN/AN/A*
e,fN/AN/AN/AN/AN/AN/AN/A

N/A: Not affected.