1. Perform the following addition of the two but patterns that are expressed usi
ID: 3748305 • Letter: 1
Question
1. Perform the following addition of the two but patterns that are expressed using 4-bits two complement notation.2. The following fraction 111.011 is represented in binary notation. Decode the fraction and enter the equivalent base 10 number in decimal form.
3. What value (in base 10) will be stored in register 0 when the following program completes execution. Answer should be in base 10 representation. Assuming that no overflow or truncation occurs.
Machine language: 2105 220A 5012 C000 1. Perform the following addition of the two but patterns that are expressed using 4-bits two complement notation.
2. The following fraction 111.011 is represented in binary notation. Decode the fraction and enter the equivalent base 10 number in decimal form.
3. What value (in base 10) will be stored in register 0 when the following program completes execution. Answer should be in base 10 representation. Assuming that no overflow or truncation occurs.
Machine language: 2105 220A 5012 C000
2. The following fraction 111.011 is represented in binary notation. Decode the fraction and enter the equivalent base 10 number in decimal form.
3. What value (in base 10) will be stored in register 0 when the following program completes execution. Answer should be in base 10 representation. Assuming that no overflow or truncation occurs.
Machine language: 2105 220A 5012 C000
Explanation / Answer
2) 111.011
Steps to Convert the integral part of binary to decimal equivalent
Here integral part is 111, so we will convert it to decimal:
1*22+1*21+1*20 = 7
Steps to Convert the fractional part of binary to decimal equivalent
Here fractional part is 011, so we will convert it to decimal:
0*1/2+1*1/22+1*1/23 = .375
So 111.011 = 7.375
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.