Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

7.7 a. What is the effect of shifting an unsigned number in a register 2 bits to the left? 1 bit to the right? Assume

7.7 a. What is the effect of shifting an unsigned number in a register 2 bits to the left? 1 bit to the right? Assume that 0s are inserted to replace bit locations at the end of the register that have become empty due to the shift.

b. Suppose the number is signed, that is, stored using 2s complement. Now, what is the effect of shifting the number?

c. Suppose that the shift excludes the sign bit so that the sign bit always remains the

same. Furthermore, suppose that during a right shift, the sign bit is always used

as the insertion bit at the left end of the number (instead of 0). Now, what is the

effect of these shifts?

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

Oracle 10g SQL

Authors: Joan Casteel, Lannes Morris Murphy

1st Edition

141883629X, 9781418836290

More Books

Students also viewed these Databases questions

Question

1 Why might people resist change?

Answered: 1 week ago

Question

Question What are the advantages of a written bonus plan?

Answered: 1 week ago