Answered step by step
Verified Expert Solution
Question
1 Approved Answer
This assignment examine your basic understanding of Arithmetic for Computers. To cover these concepts, answer the bellow questions ( Q 1 - Q 3 )
This assignment examine your basic understanding of Arithmetic for Computers. To cover these concepts, answer the bellow questions QQ:
Q Perform the following arithmetic showing all the steps used: points
a Multiplication : X unsigned integer Note. this is equal to x
b Multiplications: x twos complement integerssigned number Note. this is equal to X
c Division :
d Addition :
e Subtraction: in binary Remember. Subtraction in Binary is addition of the twos complement.
Q Consider the following Floatingpoints in decimal: pints
a x b x c x
a Fill the following table by computing the required floatingpoint operations.
a b b c a x b ac
b Fill the following table by converting the resulting floatingpoint into binary:
a b b c a x b ac
c For the following floatingpoint instruction: add.s $f $f $f Assume that the values of $f $f are and What are the values in binary in $f $f and $f after executing this instruction?
d Consider a floatingpoint addition instruction add.d in MIPS assembly language, specifically focusing on the registers $f $f and $f The task involves adding two doubleprecision floatingpoint values stored in registers $f and $f then storing the result in register $f
Given the following decimal values for variables a and b:
a times
b times
Instructions:
Convert the decimal values of a and b into their IEEE standard binary representation for doubleprecision floatingpoint format.
Execute the addition operation using the instruction add.d $f $f $f where:
o Register $f contains the value of a
o Register $f contains the value of b
After performing the addition, provide the binary representation of the result stored in register $f according to the IEEE standard for doubleprecision floatingpoint numbers.
Q In Floating Point representations, answer the following questions showing all the steps: Use the IEEE standard for allshowing all the steps used: points
a Write down the binary representation of the decimal number
b Write down the binary representation of the decimal number assuming the IEEE double precision format.
c Write down the binary representation of the decimal number
d Write down the binary representation of the decimal number
e What decimal number does the bit pattern times C represent if it is a floatingpoint number?
f What number is represented by the following single precision float single Precision :
g What number is represented by the following single precision float single Precision :
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started