Get premium membership and access questions with answers, video lessons as well as revision papers.

Perform addition and subtraction operation on the following two floating point operands. ...

      

Perform addition and subtraction operation on the following two floating point operands.

A = 0 10001 011011
B = 1 01111 101010
A and B are represented in a 12-bit format. The scale factor has an implied base of 2 and a 5-bit excess-15 exponent. The 6-bit mantissa is normalized as in the IEEE format, with an implied 1 to the left of the binary point.

  

Answers


KELVIN
Initially 0 0 0 0 0 1 1 1 0
1 1

Shift 0 0 0 0 1 1 1 0 --
Subtract + 1 1 1 0 1
1 1 1 1 0 1 1 0 0

Shift 1 1 1 0 1 1 0 0 --
Add + 0 0 0 1 1
0 0 0 0 0 1 0 0 1

Shift 0 0 0 0 1 0 0 1 --
Subtract + 1 1 1 0 1
1 1 1 1 0 0 0 1 0

Shift 1 1 1 0 0 0 1 0 --
Add + 0 0 0 1 1
1 1 1 1 1 0 1 0 0

Restore + 1 1 1 1 1
0 0 0 1 1 0 1 0 0
0 0 0 1 0 0 1 0 0

kalvinspartan answered the question on July 7, 2018 at 08:16


Next: Divide 14 by 3 using restoring and non restoring division. Show all the steps. No partial credit will be awarded unless all steps are shown.
Previous: How does multiplicity represent both the cardinality and the participation constraints on a relationship?

View More Computer Science Questions and Answers | Return to Questions Index


Learn High School English on YouTube

Related Questions