Question

1a) 0xCAFE can be written in decimal (base 10) as: 1b) The decimal number -94 can...

1a) 0xCAFE can be written in decimal (base 10) as:

1b)

The decimal number -94 can be expressed (in 8 bits)

Using signed magnitude representation as:

Using one's complement representation as:

Using two's complement representation as:

Using excess-M representation (with the appropriate value of M) as:

1c)

Using the simple floating point model (1-bit sign, 5-bit biased exponent, and 8-bit significand), the number -0.125 (decimal) can be expressed as:

(Do not use spaces or any English text. Provide only the bit pattern.)

1d)

Which of the following (select all that apply) have occurred in this computation using 2's complement representation with 8-bit binary: 32 (decimal) - 6 (decimal):

Options:

1)

Carry

2)

Overflow

3)

Neither Carry nor Overflow

Homework Answers

Answer #1

1 a)

CAFE)₁₆ = (12 × 16³) + (10 × 16²) + (15 × 16¹) + (14 × 16⁰) = (51966)₁₀

b)

I)01011110

ii)10100001

iii)10100001+1=10100010

1 c) 1 01100 00000000

Explanation:-

0.125(10) =

0.001(2) =

0.001(2) × 20 =

1(2) × 2-3

Sign: 1 (a negative number)

Exponent (unadjusted): -3

Mantissa (not normalized):
1

Adjust the exponent.

Use the 8 bit excess/bias notation:

Exponent (adjusted) =

Exponent (unadjusted) + 2(5-1) - 1 =

-3 + 2(5-1) - 1 =

(-3 + 15)(10) =

12(10)

=01100

Mantissa (normalized) =

1 000 0000 =

000 0000

Answer;-

1 01100 00000000

1d)

32 -6

32+(-6)

32=00100000

-6=1111 1010

32+(-6)=0010 0000 + 1111 1010=1 0001 1010

Discard carry answer:- 0001 1010

1) carry

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
.A floating-point number representation on a certain system has a sign bit, a 4-bit exponent and...
.A floating-point number representation on a certain system has a sign bit, a 4-bit exponent and a 5-bit significand. Please provide steps taken to get the answer a) What is the largest positive and the smallest positive number that can be stored on this system if the storage is normalized? (Assume no bits are implied, there is no biasing, exponents use two's complement notation, and exponents of all zeros and all ones are allowed.) b) What bias should be used...
1a. Convert 101011101011011101 (base 2) to hexadecimal. Show your work. 1b. Convert 67 (base 10) to...
1a. Convert 101011101011011101 (base 2) to hexadecimal. Show your work. 1b. Convert 67 (base 10) to 8-bit binary using signed magnitude. Show your work. 1c. Convert 69 (base 10) to 8-bit binary using one’s complement. Show your work. 1d. Convert 70 (base 10) to 8-bit binary using two’s complement. Show your work.
1. Assuming unsigned binary representation, convert 10110 (B) to decimal. Show work. 2 . Assuming unsigned...
1. Assuming unsigned binary representation, convert 10110 (B) to decimal. Show work. 2 . Assuming unsigned binary representation, convert 12 (D) to binary. Show work. 4. Assuming 9-bit two’s complement representation and let x be binary representation of 94 (D) a. Find x. Show work. b. Show the effect of the ASL operation on x, and then convert the result back to decimal. c. Show the effect of the ASR operation on x, and then convert the result back to...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT