![Infineon Technologies TC1796 User Manual Download Page 643](http://html1.mh-extra.com/html/infineon-technologies/tc1796/tc1796_user-manual_2055437643.webp)
TC1796
System Units (Vol. 1 of 2)
Peripheral Control Processor (PCP)
User’s Manual
11-106
V2.0, 2007-07
PCP, V2.0
11.11.38 XOR, 32-Bit Logical Exclusive OR
This section describes the XOR instructions of the PCP.
XOR
Syntax
XOR Rb, Ra, cc_A
Description
If the condition CONDCA is true, then perform a bit-wise
logical Exclusive-OR of the contents of register Ra and the
contents of register Rb; place the result in Rb. If CONDCA is
false, no operation is performed.
Operation
if (CONDCA = True) then R[b] = R[b] XOR R[a] else NOP
Flags
N, Z
XOR.F
Syntax
XOR.F Rb, [Ra], Size
Description
Perform a bit-wise logical Exclusive-OR of the contents of the
address location, specified by the contents of register Ra, and
the contents of register Rb; place the result in Rb.
Operation
R[b] = R[b] XOR zero_ext(FPI[R[a]])
Flags
N, Z
XOR.PI
Syntax
XOR.PI Ra, [#offset6]
Description
Perform a bit-wise logical Exclusive-OR of the contents of the
PRAM location specified by the addition of contents of the
PRAM Data Pointer, shifted left by six bits, and the zero-
extended 6-bit value offset6, and the contents of register Ra;
place the result in Ra.
Operation
R[a] = R[a] XOR PRAM[(DPTR<<6) + zero_ext(#offset6)]
Flags
N, Z