The following charts show the numeric values of BCD characters in
hexadecimal (base-16) notation, as that most clearly reflects the structure of 4-bit binary coded decimal, plus two extra bits. For example, the code for 'A', in row 3x and column x1, is hexadecimal 31, or binary '11 0001'.
Tape style 48-character BCD code The first versions of BCDIC had 48 characters, as they were based on card punch patterns and the character sets of printers, neither of which encouraged having a power-of-two number of characters. This was based on a 40-character punched card code; the original 37 (10 digits, 26 letters, and blank), plus three commercially important characters added around 1932: Some of the characters in this code page are not in Unicode. At 0x1A is the record mark. At 0x3F is the group mark.
PTTC/BCD code pages PTTC/BCD had 5 options. There were five code pages. They are shown below. The PTTC/BCD Standard Option was assigned as
Code page 355, or
CP355. The PTTC/BCD H Option was assigned as
Code page 357, or
CP357. The PTTC/BCD Correspondence Option was assigned as
Code page 358, or
CP358. The PTTC/BCD Monocase Option was assigned as
Code page 359, or
CP359. The PTTC/BCD Duocase Option was assigned as
Code page 360, or
CP360.
IBM 704 storage style IBM 704 BCD code The IBM 704 reordered the BCDIC code to allow a normal alphabetic collating order internally, with 0 before 1 and A before Z. It could automatically translate between this internal form and the earlier BCDIC when reading and writing
magnetic tapes. The following table shows the code assignments for the
IBM 704 computer. Unassigned code positions appear as blanks. ( and were rarely used characters that corresponded to the punched-card convention of a digit 0 with an overpunched sign in rows 12 or 11.) The following table shows the code assignments for the
type 716 printer used starting with the IBM 704 computer and through the 7094. The 704 interface sent virtual punched-card rows to this printer, two words (72 bits) at a time, so the mapping from 6-bit BCD characters was done by software, and was not built into the printer. This is a repertoire of 45 characters (not counting blank, which is handled specially by the printer), as the characters +, - and * are duplicated.
Fortran character set There was some variation; IBM 704
Fortran had a different set of special characters (preserving only the duplicated
minus sign and
asterisk,
period,
comma, and
dollar sign). A similar code was used for the
IBM 709,
7090 and
7094 successors, but with some of the special characters reassigned:
GBCD code Below is the table of GE/Honeywell's GBCD code, a variant of BCD.
Burroughs B5500 BCD code The following table shows the code assignments for the
Burroughs B5500 computer, sometimes referred to as BIC (Burroughs Interchange Code). ==See also==