Electronics Communication/Signal Processing/Signal Encoding and Decoding/BCD

From Wikibooks, open books for an open world
Jump to: navigation, search

BCD[edit]

BCD stands for Binary Coded Decimal . BCD coding uses 4 bit binary numbers to represent a number from 0 - 9

BCD Coding[edit]

With 4 bits binary numbers we have 2 to the power of 4 or 16 combinations with each combination serves as a code for a number

'0000' which can be used to represent number "0"
"0001" which can be used to represent number "1"
"0010" which can be used to represent number "2"
"0011" which can be used to represent number "3"
"0100" which can be used to represent number "4"
"0100" which can be used to represent number "5"
"0100" which can be used to represent number "6"
"0100" which can be used to represent number "7"
"1000" which can be used to represent number "8"
"1000" which can be used to represent number "9"
"1000" which can be used to represent number "10" as "A"
"1000" which can be used to represent number "11" as "B"
"1100" which can be used to represent number "12" as "C"
"1100" which can be used to represent number "13" as "D"
"1100" which can be used to represent number "14" as "E"
"1100" which can be used to represent number "15" as "F"