TC1796
System Units (Vol. 1 of 2)
Peripheral Control Processor (PCP)
User’s Manual
11-44
V2.0, 2007-07
PCP, V2.0
11.7.4
Bit Manipulation
All bit manipulation instructions except INB are executed unconditionally. If conditional
bit handling is required, INB should be used.
11.7.5
Flow Control
describes flow control instructions of the PCP in the TC1796.
Table 11-7
Bit Manipulation Instructions
Set Bit
SET
Set bit in register
SET.F
Set bit in FPI Bus address location
Clear Bit
CLR
Clear bit in register
CLR.F
Clear bit in FPI Bus address location
Insert Bit
INB
Insert carry flag into register
(position given by content of a register)
INB.I
Insert carry flag into register
(position given by immediate value)
Check Bit
CHKB
Set carry flag depending on value of specified register bit
Table 11-8
Flow Control Instructions
Jump
JC
Jump conditionally to PC + short immediate offset address
JC.A
Jump conditionally to immediate absolute address
JC.I
Jump conditionally to PC + register offset address
JC.IA
Jump conditionally to register absolute address
JL
Jump unconditionally to PC + long immediate offset address
Exit
Channel
EXIT
Unconditionally exit channel program execution
(optionally generate interrupt request and/or inhibit channel)
No
Operation
NOP
Low-power No-Operation
Debug
DEBUG
Conditionally generate debug event
(optionally stop channel program execution)