Traps
7-48
The RETI
cond instruction manipulates the status flags as shown in block (3)
in Figure 7–10. RETI
cond provides a return from a trap or interrupt.
The ’C3x supports 32 different traps. When a TRAP
cond n instruction is
executed, the ’C3x jumps to the address stored in the memory location pointed
to by the corresponding trap-vector table pointer. The location of the trap-vector
table is shown in Table 7–4 on page 7-27 (’C30/’C31 microprocessor mode),
Table 7–5 (’C31 microcomputer boot mode) on page 7-28, and Table 7–6 on
page 7-30 for the ’C32.