TC1796
System Units (Vol. 1 of 2)
Peripheral Control Processor (PCP)
User’s Manual 11-97 V2.0, 2007-07
PCP, V2.0
11.11.27 OR, Logical OR
This section describes the OR instructions of the PCP.
OR Syntax OR Rb, Ra, cc_A
Description If the condition CONDCA is true, then perform a bit-wise
logical 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] OR R[a] else NOP
Flags N, Z
OR.F Syntax OR.F Rb, [Ra], Size
Description Perform a bit-wise logical 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] OR zero_ext(FPI[R[a]])
Flags N, Z
OR.PI Syntax OR.PI Ra, [#offset6]
Description Perform a bit-wise logical 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] OR PRAM[(DPTR<<6) + zero_ext(#offset6)]
Flags N, Z