Question: 1. a) Represent the decimal number -121 in 8-bit two's complement; b) convert the twos complement representation 10000110 to decimal; c) add them also in

1.

a) Represent the decimal number -121 in 8-bit two's complement;

b) convert the twos complement representation 10000110 to decimal;

c) add them also in their twos complement representations;

d) is there an overflow (show it using the overflow detection rule)?

2. Assume we are using the simple model for floating-point representation as given in the textbook (the representation uses a 14-bit format, 5 bits for the exponent with a bias of 15, a normalized significand of 8 bits, and one bit for the sign of the number).

a) Find the representations of 0.05 in this floating-point format. Show your work including the conversion of the given numbers to binary.

b) Convert the 14-bit representation 0 10000 11111110 to decimal.

c) Add these two numbers using the floating-point addition algorithm.

d) Convert your result (the sum) back to decimal.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!