bibianmood3746 bibianmood3746
  • 02-07-2020
  • Computers and Technology
contestada

The value 5 is stored in a signed (2's complement) integer. The bits are shifted 4 places to the right. What is the resultant value (in decimal)? 0.3125

Respuesta :

ogbe2k3
ogbe2k3 ogbe2k3
  • 08-07-2020

Answer:

The resultant value is 0

Explanation:

Solution

Given that:

Now

The +5 representation in signed 2's complement integer: 00000101

Thus

When we right shift then, 4 rightmost bit (0101) will be dropped.

The number after 4-bit right shift: 00000000

Therefore the resultant value after 4-bit right shift is "0" in decimal.

Answer Link

Otras preguntas

how do you find the experimental probability of a compound event?
One day when Terry went to school the temperature outside was –15 degrees Fahrenheit. In Terry's classroom the temperature was 68 degrees Fahrenheit. How many
what is the solution to the proportion n/18 = 5/9​
PLEASE HELP 100 POINTS IF YOU DO I NEED THIS AND ILL LOVE U FOREVER LESSSSS
I need someone to show the work of this. I’m very confused :/
Which sentence in this excerpt from Leo Tolstoy’s The Death of Ivan Ilyich suggests that Ivan Ilyich and his wife couldn’t even agree on how to raise their chil
which quantity is proportional to 15/3​
please help on this one?
Which statement best contrasts the character of Cassius with the character of Antony? A. Antony has a bigger ego and speaks of himself grandly, while Cassius is
What were the African Americans soldiers called