Branch Using NMI Return Pointer
B NRP
3-47
TMS320C62x/C67x Fixed-Point Instruction Set
Delay Slots
5
Table 3–12 gives the program counter values and actions for the following
code example.
Example
Given that an interrupt occurred at
PC =
0000 1000
NRP =
0000 1000
0000 0020
B
.S2
NRP
0000 0024
ADD
.S1
A0, A2, A1
0000 0028
MPY
.M1
A1, A0, A1
0000 002C
NOP
0000 0030
SHR
.S1
A1, 15, A1
0000 0034
ADD
.L1
A1, A2, A1
0000 0038
ADD
.L2
B1, B2, B3
Table 3–12. Program Counter Values for B NRP
Cycle
Program Counter
Value (Hex)
Action
Cycle 0
0000 0020
Branch command executes
(target code fetched)
Cycle 1
0000 0024
Cycle 2
0000 0028
Cycle 3
0000 002C
Cycle 4
0000 0030
Cycle 5
0000 0034
Cycle 6
0000 1000
Branch target code executes