We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS

Binary Coded Decimal: Difference between revisions

From SnesLab
Jump to: navigation, search
(→‎See Also: CLD, SED)
(flow DAA/DAS into body)
Line 1: Line 1:
'''BCD''' stands for Binary Coded Decimal.
'''BCD''' stands for Binary Coded Decimal.
On the [[SPC700]], the [[DAA]] and [[DAS]] commands will convert a regular binary/hexadecimal value to a BCD value.  The high nybble will be the tens column and the low nybble will be the ones column.


=== See Also ===
=== See Also ===
* [[CLD]]
* [[CLD]]
* [[SED]]
* [[SED]]
* [[DAA]]
* [[DAS]]
* [[Decimal Mode]]
* [[Decimal Mode]]



Revision as of 09:03, 19 September 2024

BCD stands for Binary Coded Decimal.

On the SPC700, the DAA and DAS commands will convert a regular binary/hexadecimal value to a BCD value. The high nybble will be the tens column and the low nybble will be the ones column.

See Also