The wiki has been upgraded to MediaWiki 1.43. The wiki's theme is still being adapted to work with the new version, and may appear broken for the time being. --RanAS

Binary Coded Decimal

From SnesLab
(Redirected from BCD)
Jump to: navigation, search

BCD stands for Binary Coded Decimal.

On the SPC700, the DAA and DAS commands will convert a regular binary/hexadecimal value to a packed BCD value. The high nybble will be the tens column and the low nybble will be the ones column. The value of each BCD nybble will not exceed 0x9.

See Also