projects
/
openpower-isa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07e8ea0
)
Added English language description for cbsdtd instruction
author
Shriya Sharma
<shriya@redsemiconductor.com>
Wed, 22 Nov 2023 14:05:30 +0000
(14:05 +0000)
committer
Shriya Sharma
<shriya@redsemiconductor.com>
Wed, 22 Nov 2023 14:05:30 +0000
(14:05 +0000)
openpower/isa/bcd.mdwn
patch
|
blob
|
history
diff --git
a/openpower/isa/bcd.mdwn
b/openpower/isa/bcd.mdwn
index 20e1fc2416df0608d8032c8c7949efe83291e0a4..0e9268398b7f8a9321e733d1ceee45aca92c8d2d 100644
(file)
--- 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