From 07a25fc48163d3adf3813bfb64222e4d124d3f7d Mon Sep 17 00:00:00 2001 From: Shriya Sharma Date: Wed, 22 Nov 2023 14:05:30 +0000 Subject: [PATCH] Added English language description for cbsdtd instruction --- openpower/isa/bcd.mdwn | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 -- 2.30.2