Access over 35 million academic & study documents

A memory location of MIPS processor based computer contains the bit

Content type
User Generated
Rating
Showing Page:
1/2
A memory location of MIPS processor-based computer
contains the bit pattern
00111111010000000000000000000000
a. If this is to be interpreted as a single precision IEEE
floating point number, the equivalent decimal number is
[x].
b. If this is to be interpreted as a NULL-terminated string
of ASCII characters (with the first byte on the left is
corresponding to the first character), the string is [y].
I need to see the steps on how to get to the answer.
Solution
a) IEEE Single precision format Sign(1 bit)+Exponent (8
bit)+Fraction(23bits)
Here sign bit = 0
Exponent = 01111110 = 126
For exponent IEEE uses a bias of 127, So actual exponent
= 126-127 = -1
Fraction : 10000000000000000000000 = 2-1 = 0.5
IEEE represents Normalized values, therefore first bit of
mantisaa will always 1.
So equivalent decimal number = +1.5*2-1 (Sign 1.fraction
*2exponent) = .75

Sign up to view the full document!

lock_open Sign Up
Showing Page:
2/2

Sign up to view the full document!

lock_open Sign Up
Unformatted Attachment Preview
A memory location of MIPS processor -based computer contains the bit pattern 00111111010000000000000000000000 a. If this is to be interpreted as a single precision IEEE floating point number, the equivalent decimal number is [x]. b. If this is to be interpreted as a NULL-terminated string of ASCII characters (with the first byte on the left is corresponding to the first character), the string is [y]. I need to see the steps on how to get to the answer. Solution a) IEEE Single precision format Sig n(1 bit)+Exponent (8 bit)+Fraction(23bits) Here sign bit = 0 Exponent = 01111110 = 126 For expon ...
Purchase document to see full attachment
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Anonymous
Excellent resource! Really helped me get the gist of things.

Studypool
4.7
Indeed
4.5
Sitejabber
4.4