Texas Instruments TMS320C67X/C67X+ DSP Car Speaker User Manual


 
B NRP Branch Using NMI Return Pointer
3-76 Instruction Set SPRU733
Target Instruction
Pipeline
Stage
E1 PS
PW PR DP DC E1
Read NRP
Written
Branch
Taken
Unit in use
.S2
Instruction Type Branch
Delay Slots 5
Example Table 316 gives the program counter values and actions for the following
code 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 316. Program Counter Values for B NRP Instruction
Cycle Program Counter Value 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
Pipeline