SHARE
SPREAD
HELP

The Tradition of Sharing

Help your friends and juniors by posting answers to the questions that you know. Also post questions that are not available.


To start with, Sr2Jr’s first step is to reduce the expenses related to education. To achieve this goal Sr2Jr organized the textbook’s question and answers. Sr2Jr is community based and need your support to fill the question and answers. The question and answers posted will be available free of cost to all.

 

#
Authors:
M. Morris Mano, Michael D. Ciletti
Chapter:
Digital Systems And Binary Numbers
Exercise:
Problems
Question:22 | ISBN:9780132774208 | Edition: 5

Question

Convert decimal 6,514 to both BCD and ASCII codes. For ASCII, an even parity bit is to be appended at the left.

TextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbook

Answer

1.22

Ans: A number with k decimal digits will require 4k bits in BCD.

 So Decimal 6514 requires 16bits in BCD

(6514)₁₀= (0110 0101 0001 0100) BCD

 

ASCII is a seven‐bit code

(0 0110110 0110101 0110001 0110100)ASCII

The ‘0’ in the left most position is the even parity.

0 0

Discussions

Post the discussion to improve the above solution.