Store to Memory With a 15-Bit Offset
STB/STH/STW
3-127
TMS320C62x/C67x Fixed-Point Instruction Set
Table 3–19. Data Types Supported by Stores
Mnemonic
ld/st
Field
Store Data Type
SIze
Left Shift of Offset
STB
0 1 1 Store byte
8
0 bits
STH
1 0 1 Store halfword
16
1 bit
STW
1 1 1 Store word
32
2 bits
Execution
if (cond)
src
→
mem
else
nop
Pipeline
Stage
E1
E2
E3
Read
B14
/
B15
,
src
Written
Unit in use
.D2
Instruction Type
Store
Delay Slots
0
Note:
This instruction executes only on the .D2 unit.
Example
STB .D2
B1,*+B14[40]
Before
instruction
1 cycle after
instruction
3 cycles after
instruction
B1
1234 5678h
B1
1234 5678h
B1
1234 5678h
B14
0000 1000h
B14
0000 1000h
B14
0000 1000h
mem 1028h
42h
mem 1028h
42h
mem 1028h
78h
Pipeline