Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

stored as a signed value in an 8-bit memory location (1.e., write out all o uits and pad the number with Os or 1s as

image text in transcribed
image text in transcribed
stored as a signed value in an 8-bit memory location (1.e., write out all o uits and pad the number with Os or 1s as appropriate). b. Convert 45 to -45 using 2's complement. Again assume a signed value stored in 8-bits, padding as appropriate. C. Add your answers from a. and b. Do you get what you expect? 2. Do stuff with different numbers a. Represent 76 as an 8-bit, signed binary value. b. Represent -36 as an 8-bit, signed binary value. C. Add your answers from a. and b. Do you get what you expect? 3. Oops a. Add the binary value for 76 to the binary value for 76. Represent the answer as an 8-bit, signed binary value. b. Convert the signed binary result to decimal. Remember to use 2's complement if the sign bit is negative. Was the result the same as adding 76 to 76 in decimal? What happened? 1. Do stuff with numbers a. How do you represent the number 45 in binary? Assume the number will be stored as a signed value in an 8-bit memory location (i.e., write out all 8 bits and pad the number with Os or 1s as appropriate). b. Convert 45 to 45 using 2's complement. Again assume a signed value stored in 8-bits, padding as appropriate. C. Add your answers from a. and b. Do you get what you expect? 2. Do stuff with different numbers a. Represent 76 as an 8-bit, signed binary value. b. Represent -36 as an 8-bit, signed binary value. C. Add your answers from a. and b. Do you get what you expect? 3. Oops a. Add the binary value for 76 to the binary value for 76. Represent the answer as an 8-bit, signed binary value. b. Convert the signed binary result to decimal. Remember to use 2's complement if the sign bit is negative. Was the result the same as adding 76 to 76 in decimal? What happened

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Programming Languages 12th International Symposium Dbpl 2009 Lyon France August 2009 Proceedings Lncs 5708

Authors: Philippa Gardner ,Floris Geerts

2009th Edition

3642037925, 978-3642037924

More Books

Students also viewed these Databases questions

Question

why we face Listening Challenges?

Answered: 1 week ago

Question

what is Listening in Context?

Answered: 1 week ago