added stbx instruction in fixedstoreshift.mdwm file
authorShriya Sharma <shriya@redsemiconductor.com>
Thu, 19 Oct 2023 10:46:00 +0000 (11:46 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 29 Oct 2023 08:54:37 +0000 (08:54 +0000)
openpower/isa/fixedstoreshift.mdwn

index 6b47b8f3f82f6ed9de4882aa5f75752ba4d4fb97..3f3d331144ffe420d0dd16a524af10be58ecc306 100644 (file)
 
 <!-- Section 3.3.3 Fixed-Point Store Instructions pages 54 - 57 -->
 
-# Store Byte Indexed
+# Store Byte Shifted Indexed
 
 X-Form
 
-* stbx RS,RA,RB
+* stbx RS,RA,RB,SH
 
 Pseudo-code:
 
     b <- (RA|0)
-    EA <- b + (RB)
+    EA <- b + (RB) << (SH+1)
     MEM(EA, 1) <- (RS)[XLEN-8:XLEN-1]
 
 Description: