From: Shriya Sharma Date: Wed, 22 Nov 2023 14:05:30 +0000 (+0000) Subject: Added English language description for cbsdtd instruction X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=07a25fc48163d3adf3813bfb64222e4d124d3f7d;p=openpower-isa.git Added English language description for cbsdtd instruction --- diff --git a/openpower/isa/bcd.mdwn b/openpower/isa/bcd.mdwn index 20e1fc24..0e926839 100644 --- a/openpower/isa/bcd.mdwn +++ b/openpower/isa/bcd.mdwn @@ -87,6 +87,17 @@ Pseudo-code: result[n+22:n+31] <- BCD_TO_DPD(src[n+20:n+31]) RA <- result[64-XLEN:63] +Description: + + The low-order 24 bits of each word of register RS con- + tain six, 4-bit BCD fields which are converted to two + declets; each set of two declets is placed into the + low-order 20 bits of the corresponding word in RA. The + high-order 12 bits in each word of RA are set to 0. + + If a 4-bit BCD field has a value greater than 9 the + results are undefined. + Special Registers Altered: None