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

Jacob’s favorite short story is titled “Greatest of Ease.” It’s about a circus trapeze artist recovering after a particularly nasty fall. Jacob writes a review
Which figure is a translation of Figure 1?
What is the product?
How do you recognize a relative clause of characteristic?
Write an essay What, specifically, are you doing now to establish financial independence?
A vanguard is a group that leads the way and at the forefront of a movement. In what sense were these women a vanguard? And the vanguard of what? What can we
Factor this expression 3x^2-12x
Which detail from the movie supports the opinion that Eleanor Roosevelt played a crucial role in her husband’s political career?
What are the advantages and disadvantages of different pricing strategies?
How might our economy look if regulations like price floors and ceilings were introduced into every industry?