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

11 times 4 and 1 3rds
Can someone help solve, 3y+6=30-7y
How long does interphase last?
which element can become stable by losing 1 electron
Is 4xy + 2y = 9 linear ? If yes write the equation in standard form & determine the x & y interests
plz help me solve this question how many remain when 87 is divided by 9
How do I graph f(x)= -cos(x-pi)?
Name the two lines and the transversal that form each pair of angles
Find the coordinates of point E if C is the midpoint of AE A has the coordinates of (-3,1) C has the coordinates of (-2,-1)
A shop is giving 20% discount in a sale. A shirt in the shop normally costs $60. How much does it cost in the sale?