What is EBCDIC, and how is it related to BCD?
EBCDIC stands for Extended Binary Coded Decimal Interchange Code.
BCD stands for Binary-coded decimal. It is a numeric coding system used primarily in IBM mainframe and midrange systems. The BCD coding system encodes each digit of a decimal number to a 4-bit binary form. When an 8-bit byte system is used to store, the upper nibble is called the zone and the lower part is called the digit. IBM used a 6-bit variation of BCD to represent characters and numbers before developing the System/360. This system has severe limitaions in representing and manipulating data. Lowercase letters are not part of the BCD system.
When System/360 designed, it needed more information processing capability and uniform manner to store both numbers and data. Also the new system should be compatibility with earlier computers and peripheral equipment. To acheive these goals, the IBM engineers decided that it would be best to simply expand BCD from 6 bits to 8 bits. The extended BCD system with 8 bits is known as EBCDIC.