Table of Contents Previous topic Next topic
MICROPROCESSOR INSTRUCTION REFERENCE->TRAP
TRAP Trap
SP - 2 -> SP : Format/Offset -> SP
SP - 4 -> SP : PC -> (SP) : SP - 2 -> SP
S -> (SP) : VBR+Vector address -> PC
Assembler Syntax: TRAP #<vector>
where <vector> is a 4 bit value
Size: Unsized
Causes a TRAP #<vector> exception. The instruction adds the immediate operand (vector) of the instruction to 32 to obtain the vector number. The range of vector values is 0-15, which provides 16 vectors.
Condition Codes: Not Affected