From: Shriya Sharma Date: Fri, 27 Oct 2023 10:28:41 +0000 (+0100) Subject: added english language description for lhasx instruction X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7c8758e7ebc169440b7e6cda8c16e14eda7906e4;p=openpower-isa.git added english language description for lhasx instruction --- diff --git a/openpower/isa/fixedloadshift.mdwn b/openpower/isa/fixedloadshift.mdwn index 8e7283e6..acdb940c 100644 --- a/openpower/isa/fixedloadshift.mdwn +++ b/openpower/isa/fixedloadshift.mdwn @@ -143,6 +143,14 @@ Pseudo-code: EA <- b + (RB) << (SH+1) RT <- EXTS(MEM(EA, 2)) +Description: + + Let the effective address (EA) be the sum of the contents of + register RB shifted by (SH+1), and (RA|0). + + The halfword in storage addressed by EA is loaded into RT[48:63]. + RT[0:47] are filled with a copy of bit 0 of the loaded halfword. + Special Registers Altered: None