- 2078 Kartik · 2 marks
Convert (5A.B)₁₆ to Excess-3
Short answer
First convert (5A.B)₁₆ to decimal (90.6875)₁₀. Then add 3 to each decimal digit’s 4-bit BCD to obtain excess-3: 1100 0011.1001 1011 1010 1000.
Convert (5A.B)₁₆ = (?)Excess-3.
Excess-3 code is defined for decimal digits, so first convert the hexadecimal number to decimal, then add 3 (0011) to the BCD code of each decimal digit.
Step 1: Hex to decimal
Step 2: Each digit + 3, written in 4 bits
| Digit | 9 | 0 | . | 6 | 8 | 7 | 5 |
|---|---|---|---|---|---|---|---|
| Digit + 3 | 12 | 3 | . | 9 | 11 | 10 | 8 |
| XS-3 | 1100 | 0011 | . | 1001 | 1011 | 1010 | 1000 |
Answer:
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Convert (93)₁₀ to Excess-3 · Digital Logic, chapter 1
- Convert (1100 0011)Excess-3 to BCD · Digital Logic, chapter 1
- Convert (1001 1010)excess-3 to BCD · Digital Logic, chapter 1
- Convert (1010 0111)excess-3 to BCD · Digital Logic, chapter 1
- Convert (17)excess-3 to BCD · Digital Logic, chapter 1
- Convert (11001001)excess-3 to octal · Digital Logic, chapter 1