Question

Assume 185 and 122 are signed 8-bit decimal integers stored in sign-magnitude format. Calculate 185–122. Is...

Assume 185 and 122 are signed 8-bit decimal integers stored in sign-magnitude format. Calculate 185–122. Is there overflow, underflow, or neither?

The result is -193 but I want to know the steps to solving it. Please show your work. Thanks.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Solution Answer: Overflow Explanation The 8-bit binary value for decimal integer 185 10111001 The 8-bit binary value for deci185 + 2s complement of 122 Binary value of 185 2s complement of 122 185+2s complement of 122 1 Overflow Because the, resul

Add a comment
Know the answer?
Add Answer to:
Assume 185 and 122 are signed 8-bit decimal integers stored in sign-magnitude format. Calculate 185–122. Is...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 1. Compute the decimal value for the following bit pattern, assuming it is a single-precision floating...

    1. Compute the decimal value for the following bit pattern, assuming it is a single-precision floating point number (show major steps): 1100 0011 0001 0010 0100 1001 0010 0100 2. Convert the decimal -2118.75 into single-precision floating point number (show major steps). 3. Assume -75 and -122 are signed decimal integers stored in 8-bit sign-magnitude binary format. Calculate -75 + -122. Is there overflow, underflow, or neither?

  • Problem 1: Assume 168 and 102 are unsigned 8-bit decimal integers. Calculate 168 - 102. Is...

    Problem 1: Assume 168 and 102 are unsigned 8-bit decimal integers. Calculate 168 - 102. Is there overflow, underflow, or neither? Show the process of your calculation and explanation for the 2nd question. Problem 2: Assume 168 and 102 are signed 8-bit decimal integers. Calculate 168 - 102. Is there overflow, underflow, or neither? Show the process of your calculation and explanation for the 2nd question.

  • Assume that 151 and 214 are signed 8-bit decimal integers stored in two’s complement format. Calculate...

    Assume that 151 and 214 are signed 8-bit decimal integers stored in two’s complement format. Calculate 151 + 214 by adding the two’s complement numbers first and then writing the final result in decimal. Then explain why the final result is very different from 366 (151+214=366). Note that if a number requires more than 8 bits, you need to represent first the number correctly using as many bits as necessary, then keep only the 8 bits, and use the resulting...

  • <§3.2> What is 5ED4 - 07A4 when these values represent signed 16- bit hexadecimal numbers stored...

    <§3.2> What is 5ED4 - 07A4 when these values represent signed 16- bit hexadecimal numbers stored in sign-magnitude format? The result should be written in hexadecimal. Show your work.

  • 3.30 [30]<$3.5> Calculate the product of-8.0546875 X 10° and 1.79931640625 X 10-1 by hand, assuming A...

    3.30 [30]<$3.5> Calculate the product of-8.0546875 X 10° and 1.79931640625 X 10-1 by hand, assuming A and B are stored in the 16-bit half precision format described in Exercise 3.27. Assume 1 guard, 1 round bit, and 1 sticky bit, and round to the nearest even. Show all the steps; however, as is done in the example in the text, you can do the multiplication in human-readable format instead of using the techniques described in Exercises 3.12 through 3.14. Indicate...

  • given 5A16 & 9D16, if 8 bit sign-magnitude representation is used to represent integers, what the range of decimal values it can represent?

    given 5A16 & 9D16, if 8-bit sign-magnitude represent used to represents integers, what the range of decimal values it represents?

  • Assume all values are stored in a single precision IEEE-754 format. Calculate 2.5*10-1 divided by: a....

    Assume all values are stored in a single precision IEEE-754 format. Calculate 2.5*10-1 divided by: a. 1.25*10-1 b. 0 Show all your steps and write your answers in both the single-precision floating-point format and in decimal.

  • please show your steps and note that question 2 has a byte address of 000002 not...

    please show your steps and note that question 2 has a byte address of 000002 not 000000. thanks Hex Viewer Case Study to be used for questions 1: Review this excerpt from a hex viewer. You can assume that all data shown is in hex. You can assume that two's complement is used to store signed integers with a 16-bit architecture which is byte addressable. Refer to this excerpt to answer the questions below: 000000 8A00 8E00 CFA1 48BF 7900...

  • (3 pts) Consider an unsigned fixed point decimal (Base10) representation with 8 digits, 5 to the...

    (3 pts) Consider an unsigned fixed point decimal (Base10) representation with 8 digits, 5 to the left of the decimal point and 3 to the right. a.      What is the range of the expressible numbers?    b.      What is the precision?    c.       What is the error?    ______________________________________________________________________________   (3 pts) Convert this unsigned base 2 number, 1001 10112, to each base given below   (Note: the space in the binary string is purely for visual convenience) Show your work. Using...

  • Code is in C# Your instructor would like to thank to Marty Stepp and Hélène Martin...

    Code is in C# Your instructor would like to thank to Marty Stepp and Hélène Martin at the University of Washington, Seattle, who originally wrote this assignment (for their CSE 142, in Java) This program focuses on classes and objects. Turn in two files named Birthday.cs and Date.cs. You will also need the support file Date.dll; it is contained in the starter project for this assignment. The assignment has two parts: a client program that uses Date objects, and a...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT