Texas Instruments TMS320C6000 Series Reference Manual page 91

Table of Contents

Advertisement

B IRP
Branch Using an Interrupt Return Pointer
Syntax
Opcode
31
29 28 27
creg
z
dst
3
5
Description
Execution
Pipeline
Instruction Type
3-44
B
(.unit) IRP
.unit = .S2
Opcode map field used...
src2
23 22
18 17
0 0 1 1 0
5
IRP is placed in the PFC. This instruction also moves PGIE to GIE. PGIE is
unchanged.
If two branches are in the same execute packet and are both taken, behavior
is undefined.
Two conditional branches can be in the same execute packet if one branch
uses a displacement and the other uses a register, IRP, or NRP. As long as only
one branch has a ture condition, the code executes in a well-defined way.
if (cond)
IRP
PFC
else
nop
Notes:
1) This instruction executes on .S2 only. PFC is the program fetch counter.
2) Refer to the chapter on interrupts for more information on IRP, PGIE, and
GIE.
3) The execute packets in the delay slots of a branch cannot be interrupted.
This is true regardless of whether the branch is taken.
Pipeline
Stage
E1
Read
IRP
Written
Branch
Taken
Unit in use
.S2
Branch
For operand type...
xsint
13 12
11
x
0 0 0 0 0
0 0 0 0 1 1
5
Target Instruction
PS
PW
Unit
.S2
6
5
4
3
2
1
0
0
0
6
PR
DP
DC
1
0
s
p
E1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TMS320C6000 Series and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Tms320c67 seriesTms320c62 series

Table of Contents