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

index 3f3d331144ffe420d0dd16a524af10be58ecc306..990c9ceeaf9bb6d888ff90e7e8d35e889670d5dc 100644 (file)
@@ -36,15 +36,15 @@ Special Registers Altered:
 
     None
 
-# Store Byte with Update Indexed
+# Store Byte Shifted with Update Indexed
 
 X-Form
 
-* stbux RS,RA,RB
+* stbsux RS,RA,RB,SH
 
 Pseudo-code:
 
-    EA <- (RA) + (RB)
+    EA <- (RA) + (RB) << (SH+1)
     MEM(EA, 1) <- (RS)[XLEN-8:XLEN-1]
     RA <- EA