Program Counter Values For B Irp - Texas Instruments TMS320C6000 Series Reference Manual

Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tms320c67 seriesTms320c62 series

Table of Contents