Convert decimal 6,514 to both BCD and ASCII codes. For ASCII, an even parity bit is to be appended at the left.
Answers
Answered by
13
how it get it is difficult
Answered by
15
Given:
Decimal number : (6514)₁₀
To find:
BCD and ASCII
For ASCII, an even parity bit is to be appended at the left.
Solution:
For BCD
6 5 1 4
0110 0101 0001 0100
Therefore, BCD of (6514)₁₀ is 0110010100010100
For ASCII
(6514)₁₀
Assume 3 with every digit of the number
3 6 3 5 3 1 3 4
011 0110 011 0101 011 0001 011 0100
Therefore, ASCII of (6514)₁₀ is 0110110011010101100010110100
An even parity bit is to be appended at the left.
ASCII value 0110110011010101100010110100
Total number of 1's = 14 (even)
So, we will add append 0 at the left
So, finally we get 00110110011010101100010110100
Similar questions
Social Sciences,
1 month ago
India Languages,
1 month ago
Chemistry,
1 month ago
Math,
3 months ago
Physics,
3 months ago
Math,
9 months ago
Math,
9 months ago