pststd

Prefixed Store Doubleword

pststd RS, D34(RA), R

Stores a 64-bit value to memory using a 34-bit immediate offset.

Details

The Prefixed Store Doubleword instruction stores a 64-bit value to memory using a 34-bit immediate offset.

Pseudocode Operation

EA <- (R=1 ? PC : RA|0) + EXTS(D34); MEM(EA, 8) <- RS

Programming Note

The pststd instruction stores a doubleword from the source register to memory. It uses the Program Counter (PC) or an effective address calculated from the base register and displacement. Ensure proper alignment for optimal performance; unaligned accesses may incur penalties. This instruction operates at user privilege level.

Example

pststd r3, label@pcrel(0), 1

Encoding

Binary Layout
1
0
2
6
R
8
0
9
D0
14
61
32
RS
38
RA
43
D1
48
 
Format MLS:D-form
Opcode 0x06000000
Extension Prefixed
Registers Altered PC

Operands

  • RS
    Source Register
  • D34
    34-bit Displacement
  • RA
    Base Register
  • R
    PC-Relative Flag