Program Counter Values For Example Branch Using A Displacement - Texas Instruments TMS320C6000 Series Reference Manual

Table of Contents

Advertisement

Pipeline
Instruction Type
Delay Slots
Example
Table 3–9. Program Counter Values for Example Branch Using a Displacement
Pipeline
E1
Stage
Read
Written
Branch
Taken
Unit in use
.S
Branch
5
Table 3–9 gives the program counter values and actions for the following code
example.
0000 0000
0000 0004
0000 0008
|| ADD
0000 000C
LOOP: MPY
0000 0010
|| SUB
0000 0014
0000 0018
0000 001C
0000 0020
Program Counter
Cycle
Value
Cycle 0
0000 0000h
Cycle 1
0000 0004h
Cycle 2
0000 000Ch
Cycle 3
0000 0014h
Cycle 4
0000 0018h
Cycle 5
0000 001Ch
Cycle 6
0000 000Ch
Cycle 7
0000 0014h
Target Instruction
PS
PW
B
.S1
LOOP
ADD
.L1
A1, A2, A3
.L2
B1, B2, B3
.M1X
A3, B3, A4
.D1
A5, A6, A6
MPY
.M1
A3, A6, A5
MPY
.M1
A6, A7, A8
SHR
.S1
A4, 15, A4
ADD
.D1
A4, A6, A4
TMS320C62x/C67x Fixed-Point Instruction Set
Branch Using a Displacement
PR
DP
DC
Action
Branch command executes
(target code fetched)
Branch target code executes
B
E1
3-41

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tms320c67 seriesTms320c62 series

Table of Contents