AND IFR,#16bit
SYNTAX OPTIONS
AND IFR,#16bit
Operands
IFR
#16bit
Description
Flags and
Modes
Repeat
Example
; Clear the contents of the IFR register. Disables all
; pending interrupts:
AND
Interrupt flag register
16-bit immediate constant value (0x0000 to 0xFFFF)
Clear specific pending interrupts by performing a bitwise AND operation with
the IFR register and the 16-bit immediate value. The result of the AND
operation is stored in the IFR register:
IFR = IFR AND #16bit;
Interrupt hardware has priority over CPU instruction operation in cases where the
Note:
interrupt flag is being simultaneously modified by the hardware and the instruction.
None
This instruction is not repeatable. If this instruction follows the RPT
instruction, it resets the repeat counter (RPTC) and executes only once.
IFR,#0x0000
Bitwise AND to Clear Pending CPU Interrupts
OPCODE
0111 0110 0010 1111
CCCC CCCC CCCC CCCC
; Clear IFR register
AND IFR,#16bit
OBJMODE
RPT
CYC
X
−
2
6-47
Need help?
Do you have a question about the TMS320C28x and is the answer not in the manual?