EasyManua.ls Logo

Infineon Technologies TC1796 - 11.11.8 CHKB, Check Bit; 11.11.9 CLR, Clear Bit

Infineon Technologies TC1796
2150 pages
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-83 V2.0, 2007-07
PCP, V2.0
11.11.8 CHKB, Check Bit
This section describes the CHKB instruction of the PCP.
11.11.9 CLR, Clear Bit
CHKB Syntax CHKB Ra, #imm5, S/C
Description If bit imm5 of register Ra is equal to the specified test value
S/C then set the carry flag R7.C, else clear the carry flag.
Operation if (R[a][imm5] = S/C) then R7_C = 1 else R7_C = 0
Flags C
CLR Syntax CLR Ra, #imm5
Description Clear bit imm5 of register Ra to 0.
Operation R[a][imm5] = 0
Flags None
CLR.F Syntax CLR.F [Ra], #imm5, Size
Description Clear bit imm5 of the address location specified through the
contents of register Ra to 0. This instruction is executed
using a locked read-modify-write FPI Bus transaction.
Operation FPI[(R[a])][imm5] = 0
Flags None

Table of Contents