Store Pointer Register
General Form
[ indirect_address ] = P-register
Syntax
[Preg ] = Preg ; /* indirect (a)*/
[Preg ++ ] = Preg ; /* indirect, post-increment (a)*/
[Preg -- ] = Preg ; /* indirect, post-decrement (a)*/
[Preg + uimm6m4 ] = Preg ; /* indexed with small offset (a)*/
[Preg + uimm17m4 ] = Preg ; /* indexed with large offset (b)*/
[Preg - uimm17m4 ] = Preg ; /* indexed with large offset (b)*/
[ FP -uimm7m4 ] = Preg ; /* indexed FP-relative (a)*/
Options
The Store Pointer Register instruction supports the following options.
- Post-increment the destination pointer by 4 bytes.
- Post-decrement the destination pointer by 4 bytes.
- Offset the source pointer with a small (6-bit), word-aligned (multiple of 4), unsigned constant.
- Offset the source pointer with a large (18-bit), word-aligned (multiple of 4), signed constant.
- Frame Pointer (FP) relative and offset with a 7-bit, word-aligned (multiple of 4), negative constant.
Example