TC1796
System Units (Vol. 1 of 2)
Peripheral Control Processor (PCP)
User’s Manual
11-43
V2.0, 2007-07
PCP, V2.0
Note: If a conditional instruction’s condition code is false, the operation will be treated as
a “No Operation”. Register values will not be changed and the flags will not be
updated.
Table 11-6
Logical Instructions
Logical
And
AND
Register AND register (conditionally)
AND.F
Content of FPI Bus address location AND register
(byte, half-word or word)
AND.PI
Content of PRAM address location AND register
MCLR.PI Clear specified bits within a PRAM location
Logical Or
OR
Register OR register (conditionally)
OR.F
Content of FPI Bus address location OR register
(byte, half-word or word)
OR.PI
Content of PRAM address location OR register
MSET.PI Set specified bits within a PRAM location
Logical
Exclusive-
Or
XOR
Register XOR register (conditionally)
XOR.F
Content of FPI Bus address location XOR register
(byte, half-word or word)
XOR.PI
Content of PRAM address location XOR register
Logical Not
NOT
Invert register (1’s complement, conditionally)
Shift
SHL
Shift left register
SHR
Shift right register
Rotate
RL
Rotate left register
RR
Rotate right register
Prioritize
PRI
Calculate position of first set bit (1-bit) in register, from left