ABORTI
ABORTI
SYNTAX OPTIONS
ABORTI
Operands
Description
Flags and
DBGM
Modes
Repeat
6-18
0000 0000 0000 0001
None
Abort interrupt. This instruction is available for emulation purposes. Generally,
a program uses the IRET instruction to return from an interrupt. The IRET
instruction restores all of the values that were saved to the stack during the
automatic context save. In restoring status register ST1 and the debug status
register (DBGSTAT), IRET restores the debug context that was present before
the interrupt.
In some target applications, you might have interrupts that must not be returned
from by the IRET instruction. Not using IRET can cause a problem for the
emulation logic, because the emulation logic assumes that the original debug
context will be restored. The abort interrupt (ABORTI) instruction is provided as
a means to indicate that the debug context will not be restored and the debug
logic needs to be reset to its default state. As part of its operation, the ABORTI
instruction:
Sets the DBGM bit in ST1. This disables debug events.
-
Modifies select bits in the DBGSTAT register. This effect is a resetting of
-
the debug context. If the CPU was in the debug-halt state before the
interrupt occurred, the CPU does not halt when the interrupt is aborted.
The ABORTI instruction does not modify the DBGIER, the IER, the INTM bit or
any analysis registers (for example, registers used for breakpoints, watch
points, and data logging).
The DBGM bit is set.
This instruction is not repeatable. If this instruction follows the RPT instruction,
it resets the repeat counter (RPTC) and executes only once.
OPCODE
OBJMODE
Abort Interrupt
RPT
CYC
X
−
2
Need help?
Do you have a question about the TMS320C28x and is the answer not in the manual?