Computer Science, asked by saipreeth1234, 10 months ago

multiply (3) x (-4) using booths law

Answers

Answered by ramesh3287
1

what is boots law

i dont know

Answered by Anonymous
2

Explanation:

Find 3 × (−4), with m = 3 and r = −4, and x = 4 and y = 4:

  • m = 0011, -m = 1101, r = 1100
  • A = 0011 0000 0
  • S = 1101 0000 0
  • P = 0000 1100 0
  1. Perform the loop four times:P = 0000 1100 0. The last two bits are 00.
  • P = 0000 0110 0. Arithmetic right shift.
  1. P = 0000 0110 0. The last two bits are 00.
  • P = 0000 0011 0. Arithmetic right shift.
  1. P = 0000 0011 0. The last two bits are 10.
  • P = 1101 0011 0. P = P + S.
  • P = 1110 1001 1. Arithmetic right shift.P = 1110 1001 1. The last two bits are 11.
  1. P = 1111 0100 1. Arithmetic right shift.

The product is 1111 0100, which is −12.

Similar questions