From: Shriya Sharma Date: Fri, 17 Nov 2023 15:36:11 +0000 (+0000) Subject: Added English language description for sthupsx instruction X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3d565f03fc76ece6b0a80a7f15f6cba9abd3086a;p=openpower-isa.git Added English language description for sthupsx instruction --- 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.