<!-- This defines instructions that store from a register to RAM -->
<!-- Effective Address is always RA, and the usual EA is stored late in RA -->
-# Store Byte with Update
+[[!inline pagenames="openpower/isa/pifixedstore/stbup" raw="yes"]]
-D-Form
+[[!inline pagenames="openpower/isa/pifixedstore/stbupx" raw="yes"]]
-* stbup RS,D(RA)
+[[!inline pagenames="openpower/isa/pifixedstore/sthup" raw="yes"]]
-Pseudo-code:
+[[!inline pagenames="openpower/isa/pifixedstore/sthupx" raw="yes"]]
- EA <- (RA) + EXTS(D)
- ea <- (RA)
- MEM(ea, 1) <- (RS)[XLEN-8:XLEN-1]
- RA <- EA
+[[!inline pagenames="openpower/isa/pifixedstore/stwup" raw="yes"]]
-Special Registers Altered:
+[[!inline pagenames="openpower/isa/pifixedstore/stwupx" raw="yes"]]
- None
-
-# Store Byte with Update Indexed
-
-X-Form
-
-* stbupx RS,RA,RB
-
-Pseudo-code:
-
- EA <- (RA) + (RB)
- ea <- (RA)
- MEM(ea, 1) <- (RS)[XLEN-8:XLEN-1]
- RA <- EA
-
-Special Registers Altered:
-
- None
-
-# Store Halfword with Update
-
-D-Form
-
-* sthup RS,D(RA)
-
-Pseudo-code:
-
- EA <- (RA) + EXTS(D)
- ea <- (RA)
- MEM(ea, 2) <- (RS)[XLEN-16:XLEN-1]
- RA <- EA
-
-Special Registers Altered:
-
- None
-
-# Store Halfword with Update Indexed
-
-X-Form
-
-* sthupx RS,RA,RB
-
-Pseudo-code:
-
- EA <- (RA) + (RB)
- ea <- (RA)
- MEM(ea, 2) <- (RS)[XLEN-16:XLEN-1]
- RA <- EA
-
-Special Registers Altered:
-
- None
-
-# Store Word with Update
-
-D-Form
-
-* stwup RS,D(RA)
-
-Pseudo-code:
-
- EA <- (RA) + EXTS(D)
- ea <- (RA)
- MEM(ea, 4) <- (RS)[XLEN-32:XLEN-1]
- RA <- EA
-
-Special Registers Altered:
-
- None
-
-# Store Word with Update Indexed
-
-X-Form
-
-* stwupx RS,RA,RB
-
-Pseudo-code:
-
- EA <- (RA) + (RB)
- ea <- (RA)
- MEM(ea, 4) <- (RS)[XLEN-32:XLEN-1]
- RA <- EA
-
-Special Registers Altered:
-
- None
-
-# Store Doubleword with Update
-
-DS-Form
-
-* stdup RS,DS(RA)
-
-Pseudo-code:
-
- EA <- (RA) + EXTS(DS || 0b00)
- ea <- (RA)
- MEM(ea, 8) <- (RS)
- RA <- EA
-
-Special Registers Altered:
-
- None
-
-# Store Doubleword with Update Indexed
-
-X-Form
-
-* stdupx RS,RA,RB
-
-Pseudo-code:
-
- EA <- (RA) + (RB)
- ea <- (RA)
- MEM(ea, 8) <- (RS)
- RA <- EA
-
-Special Registers Altered:
-
- None
+[[!inline pagenames="openpower/isa/pifixedstore/stdup" raw="yes"]]
+[[!inline pagenames="openpower/isa/pifixedstore/stdupx" raw="yes"]]