EasyManua.ls Logo

Infineon Technologies TC1796 - 11.11.38 XOR, 32-Bit Logical Exclusive OR

Infineon Technologies TC1796
2150 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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

Table of Contents