Skip to main content

Convert (1010 0111)excess-3 to BCD

Short answer

Subtract 0011 from each 4-bit group: 1010-0011=0111 (7), 0111-0011=0100 (4). Result: (0111 0100)BCD.

Convert (1010 0111)excess-3 = (?)BCD.

Rule: an excess-3 (XS-3) code word is the BCD code of each decimal digit plus 3 (0011). So subtract 0011 from each 4-bit group to get the BCD digit.

XS-3 groupValueSubtract 3BCD
10101010 − 3 = 70111
011177 − 3 = 40100

So the decimal number is 74.

Answer: (1010 0111)XS-3=(0111 0100)BCD(1010\ 0111)_{XS\text{-}3} = (0111\ 0100)_{BCD} (= 741074_{10}).

✓ Answer checked by Claude Opus 5.5 (high effort)

All Digital Logic chapter 1 questions →