Added English language description for stdupsx instruction
authorShriya Sharma <shriya@redsemiconductor.com>
Fri, 17 Nov 2023 15:38:47 +0000 (15:38 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 17 Nov 2023 15:43:12 +0000 (15:43 +0000)
openpower/isa/pifixedstoreshift.mdwn

index b1984e91ef67244d07ac35d29aff5def3120365b..43239d0c4832ccf76ac97555a0afefcc68dac3da 100644 (file)
@@ -94,18 +94,19 @@ Special Registers Altered:
 
 Z23-Form
 
-* stdupsx RS,RA,RB
+* stdupsx RS,RA,RB,SH
 
 Pseudo-code:
 
-    EA <- (RA) + (RB)
+    EA <- (RA) + (RB)<<(SH+1)
     ea <- (RA)
     MEM(ea, 8) <- (RS)
     RA <- EA
 
 Description:
 
-    Let the effective address (EA) be the sum (RA)+ (RB).
+    Let the effective address (EA) be the sum of the contents of
+    register RB shifted by (SH+1), and the contents of register RA.
 
     (RS) is stored into the doubleword in storage addressed by RA.