Illegal-Instruction Trap
3-22
3.6 Illegal-Instruction Trap
Any one of the following three events causes an illegal-instruction trap:
-
An invalid instruction is decoded (this includes invalid addressing modes).
-
The opcode value 0000
16
is decoded. This opcode corresponds to the
ITRAP0 instruction.
-
The opcode value FFFF
16
is decoded. This opcode corresponds to the
ITRAP1 instruction.
An illegal-instruction trap cannot be blocked, not even during emulation. Once
initiated, an illegal-instruction trap operates the same as a TRAP #19 instruc-
tion. The handling of an interrupt initiated by the TRAP instruction is described
in section 3.5.2. As part of its operation, the illegal-instruction trap saves the
return address on the stack. Thus, you can detect the offending address by
examining this saved value. For more information about the TRAP instruction,
see Chapter 6,
C28x Assembly Language Instructions
.
Содержание TMS320C28x
Страница 30: ...1 12...
Страница 80: ...This page intentionally left blank 2 50 This page intentionally left blank...
Страница 269: ...IN loc16 PA 6 112 MOV AL 0 AL 0 UOUT IORegC AL IOspace IORegC AL 10...
Страница 308: ...MAXCUL P loc32 6 151 Saturate MOVL Var64 2 ACC Store result into Var64 MOVL Var64 P...
Страница 509: ...SUBL ACC P PM 6 352 SUBL ACC P PM ACC S B 11 M X 4 MOVH Y ACC 5 Store Q15 result into Y...
Страница 585: ...This page intentionally left blank 7 32 This page intentionally left blank...