SPRUIE9D May 2017 – May 2024 DRA74P , DRA75P , DRA76P , DRA77P
Store Word to Memory, Postincrement with a 3-Bit Unsigned Constant Offset
STW dst, *baseR++[ucst3]
Functional unit = D
16 bit
| 15 | 13 | 12 | 10 | 9 | 7 | 6 | 0 |
| dst | baseR | ucst3 | 1 | 1 | 1 | 0 | 1 | 1 | 1 | ||||||
| 3 | 3 | 3 | opcode | ||||||||||||
The entire content (word) of dst is stored to memory (effective address). The memory address is the value of the base address register (baseR). After accessing, an offset (number of halfwords) that is a 3-bit unsigned constant (ucst3) is added to baseR at the end of the EXE phase. You must type the brackets, [ ], around the specified offset, if you use the optional offset parameter.
Word addresses must be aligned on word (two LSBs are 0) boundaries.
None
*(baseR++[ucst3]) = *dst