From 6c949ecc7c31d7cac8a9bef1e18b85fa80584225 Mon Sep 17 00:00:00 2001 From: Shriya Sharma Date: Fri, 17 Nov 2023 15:36:11 +0000 Subject: [PATCH] Added English language description for sthupsx instruction --- openpower/isa/pifixedstoreshift.mdwn | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/openpower/isa/pifixedstoreshift.mdwn b/openpower/isa/pifixedstoreshift.mdwn index 1f2694a0..b8543c48 100644 --- a/openpower/isa/pifixedstoreshift.mdwn +++ b/openpower/isa/pifixedstoreshift.mdwn @@ -38,18 +38,19 @@ Special Registers Altered: Z23-Form -* sthupsx RS,RA,RB +* sthupsx RS,RA,RB,SH Pseudo-code: - EA <- (RA) + (RB) + EA <- (RA) + (RB)<<(SH+1) ea <- (RA) MEM(ea, 2) <- (RS)[XLEN-16:XLEN-1] 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)[56:63] are stored into the byte in storage addressed by EA. -- 2.30.2