Binary-coded decimal Binary-coded decimal In computing and electronic systems, binary-coded decimal (BCD) is a class of binary encodings of decimal numbers where each decimal digit is represented by a fixed number of bits, usually four or eight. Special bit patterns are sometimes used for a sign or for other indications (e.g., error or overflow). In byte-oriented systems (i.e. most modern computers), the term "unpacked" BCD usually implies a full byte for each digit (often including a sign), whereas "packed" BCD typically encodes two decimal digits within a single byte by taking advantage of the fact that four bits are enough to represent
Byte addressing be achieved in one instruction: store this character code at that byte address. Text programs are easier to write, smaller, and run faster. The advantage of word addressing is that more memory can be addressed in the same number of bits. The IBM 7094 has 15-bit addresses, so could address 32,768 words of 36 bits. The machines were often built with a full complement of addressable memory. Addressing 32,768 bytes of 6 bits would have been much less useful for scientific and engineering users. Or consider the 32-bit Pentium processor. Its 32-bit address bus can address 4 billion different items.