SPRUIE9D May 2017 – May 2024 DRA74P , DRA75P , DRA76P , DRA77P
Load Word from Memory, Postincrement with a Register Offset
LDW *baseR++[src1], dst
Functional unit = D
16 bit
15 | 13 | 12 | 10 | 9 | 7 | 6 | 0 |
dst | baseR | src1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 |
3 | 3 | 3 | opcode |
Loads a word from memory (effective address) to dst. The value of baseR is the effective address to be accessed in memory and the content loaded into dst. After accessing, an offset (number of words) that is a register (src1) is added to baseR at the end of the EXE phase. Brackets, [ ],must surround the specified offset, if using the optional offset parameter.
The entire content is loaded into dst.
Word addresses must be aligned on word (two LSBs are 0) boundaries.
None
dst = *(baseR++[src1])