Question: 1 . ( 1 2 points ) Assume that registers $s 0 and $s 1 hold the values 0 x 8 0 0 0 0
points Assume that registers $s and $s hold the values x and xE respectively when answering the following four questions.
What is the value of $t after executing add $t $s $s
$sx
$sxE
$tx
Is the result in $t the desired result, or has there been overflow after executing the add instruction?
There is an overflow, the result should be a negative
What is the value of $t after executing sub $t $s $s
$s
$s
$txA
Is the result in $t the desired result, or has there been overflow after executing the sub instruction?
No overflow has occurred
points What is FDA when these values represent unsigned bit hexadecimal numbers? The result should be written in hexadecimal. Show your work.
FD
A
F
points What is when these values represent unsigned bit octal numbers? The result should be written in octal. Show your work.
points What decimal number does the bit pattern times D represent if it is a floatingpoint number? Use the IEEE standard and show your work.
Sign bit so positive
xD
Exponent bits
exponent for IEEE
Mantissa
Float point sign exponentfraction
points What is the binary representation of the decimal number assuming the IEEE single precision format.
R R R R R R
Fraction part integer part
integer part
Combine both
Its positive so sign bit
It moves spaces to the left to be normal so
Exponent
Mantissa
The binary representation of
points Given the following bit binary sequences representing single precision IEEE
floating point numbers:
a
b
Perform the following arithmetic and show the final addition and multiplication results in both normalized binary format and IEEE singleprecision format. Show your steps Do not convert a and b to decimal base, compute the addition and multiplication, then convert the results back to normalized binary and single precision
a b
A
Sign
Exponent
Mantissa
B
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
