Changes

Jump to: navigation, search

BCD

370 bytes added, 12:26, 26 September 2019
no edit summary
In [[Signed|signed]] BCD values, the highest-order nibble is usually used to hold the sign (0 for positive, non-0 for negative).
 
BCD is extensively used on IBM midrange and mainframe systems. Extended Binary Coded Decimal Interchange Code (EBCDIC) is a character encoding based on BCD used as an alternative to ASCII.
 
BCD is also used in some accounting programs, to avoid errors that can be introduced through the use of floating-point math. Some CPUs, such as the 6502, support a BCD math mode.

Navigation menu