SPRUIE9D May 2017 – May 2024 DRA74P , DRA75P , DRA76P , DRA77P
Branch Using an Interrupt Return Pointer
BIRP
Functional unit = D
16 bit
15 | 14 | 13 | 12 | 11 | 10 | 9 | 0 |
x | x | x | x | x | x | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
opcode |
Performs an unconditional branch to the address in the interrupt return pointer register (IRP). The content of IRP is treated as a halfword address. The shadow control status register (SCSR) content is copied back to the control status register (CSR) as a result of this instruction.
This instruction has one delay slot. Only a NOP instruction is supported in a BIRP delay slot.
For context restore: CSR = SCSR
PC = *IRP
CSR = SCSR, Rn = SRn, LSAn = SLSAn, LEAn = SLEAn, LCNTn = SLCNTn