beautypg.com

8 interrupt return pointer register (irp) – Texas Instruments TMS320C67X/C67X+ DSP User Manual

Page 45

background image

Control Register File

2-19

CPU Data Paths and Control

SPRU733

2.7.8 Interrupt Return Pointer Register (IRP)

The interrupt return pointer register (IRP) contains the return pointer that
directs the CPU to the proper location to continue program execution after
processing a maskable interrupt. A branch using the address in IRP (B IRP)
in your interrupt service routine returns to the program flow when interrupt
servicing is complete. The IRP is shown in Figure 2−9.

The IRP contains the 32-bit address of the first execute packet in the program
flow that was not executed because of a maskable interrupt. Although you can
write a value to IRP, any subsequent interrupt processing may overwrite that
value.

Figure 2−9. Interrupt Return Pointer Register (IRP)

31

0

IRP

R/W-x

Legend: R = Readable by the MVC instruction; W = Writeable by the MVC instruction; -x = value is indeterminate after reset