13.07.2015 Views

Digital Electronics: Principles, Devices and Applications

Digital Electronics: Principles, Devices and Applications

Digital Electronics: Principles, Devices and Applications

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

12 <strong>Digital</strong> <strong>Electronics</strong>Solution(a) The decimal equivalent of (12LM) is given byM × 5 0 + L × 5 1 + 2 × 5 2 + 1 × 5 3 = 4 × 5 0 + 3 × 5 1 + 2 × 5 2 + 1 × 5 3 L = 3 M = 4The decimal equivalent of (L1) is given by= 4 + 15 + 50 + 125 = 194L × 5 −1 + 1 × 5 −2 = 3 × 5 −1 + 5 −2 = 064Combining the results, (12LM.L1) 5 = (194.64) 10 .(b) The total number of possible four-digit combinations = 5 4 = 625.Example 1.10The 7’s complement of a certain octal number is 5264. Determine the binary <strong>and</strong> hexadecimalequivalents of that octal number.Solution• The 7’s complement = 5264.• Therefore, the octal number = (2513) 8 .• The binary equivalent = (010 101 001 011) 2 = (10101001011) 2 .• Also, (10101001011) 2 = (101 0100 1011) 2 = (0101 0100 1011) 2 = (54B) 16 .• Therefore, the hex equivalent of (2513) 8 = (54B) 16 <strong>and</strong> the binary equivalent of (2513) 8 =(10101001011) 2 .1.17 Floating-Point NumbersFloating-point notation can be used conveniently to represent both large as well as small fractionalor mixed numbers. This makes the process of arithmetic operations on these numbers relatively mucheasier. Floating-point representation greatly increases the range of numbers, from the smallest to thelargest, that can be represented using a given number of digits. Floating-point numbers are in generalexpressed in the formN = m × b e (1.1)where m is the fractional part, called the signific<strong>and</strong> or mantissa, e is the integer part, called theexponent, <strong>and</strong> b is the base of the number system or numeration. Fractional part m is a p-digit numberof the form (±d.dddd dd), with each digit d being an integer between 0 <strong>and</strong> b – 1 inclusive. If theleading digit of m is nonzero, then the number is said to be normalized.Equation (1.1) in the case of decimal, hexadecimal <strong>and</strong> binary number systems will be written asfollows:Decimal systemN = m × 10 e (1.2)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!