Physics, asked by Ashkingsinghani14281, 3 months ago

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 anasmkg605
13

how it get it is difficult

Answered by dreamrob
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