STB/STH/STW
Store to Memory With a Register Offset or 5-Bit Unsigned Constant Offset
3-124
Instruction Type
Store
Pipeline
Stage
E1
E2
E3
Read
baseR,
offsetR
src
Written
baseR
Unit in use
.D2
Delay Slots
0
For more information on delay slots for a store, see Chapter 5,
TMS320C62x
Pipeline, and Chapter 6, TMS320C67x Pipeline.
Example 1
STB .D1
A1,*A10
Before
instruction
1 cycle after
instruction
3 cycles after
instruction
A1
9A32 7634h
A1
9A32 7634h
A1
9A32 7634h
A10
0000 0100h
A10
0000 0100h
A10
0000 0100h
mem 100h
11h
mem 100h
11h
mem 100h
34h
Example 2
STH .D1
A1,*+A10(4)
Before
instruction
1 cycle after
instruction
3 cycles after
instruction
A1
9A32 7634h
A1
9A32 7634h
A1
9A32 7634h
A10
0000 0100h
A10
0000 0100h
A10
0000 0100h
mem 104h
1134h
mem 104h
1134h
mem 104h
7634h
Pipeline