GATE Computer ScienceVery hardGATE CS
The 16-bit multiplier 0x6DB6 (0110 1101 1011 0110) is used by a Booth multiplier. Radix-2 Booth recoding performs one add or subtract for every change between adjacent multiplier bits (with an implied 0 to the right of the LSB); radix-4 Booth recoding produces 8 digits from {−2, −1, 0, +1, +2}, and one partial product is generated for each non-zero digit. What is the pair (radix-2 add/subtract count, radix-4 non-zero digits)?
- A. (8, 8)
- B. (10, 6)
- C. (16, 8)
- D. (10, 8)
Correct answer: D. (10, 8)
The pattern has five blocks of 11, each giving 2 bit changes, so radix-2 Booth does 10 operations. Radix-4 digits from the LSB are −2, +2, −1, −1, +2, −1, −1, +2, all non-zero, so 8 partial products: fewer than 10 but no zeros.
Practise more Computer Organization and Architecture questionsComputer Organization and Architecture: notes and key points
More Computer Organization and Architecture questions
- Machines A and B run four benchmarks with execution times (in seconds) A: 12, 30, 8, 50 and B: 24, 15, 16, 25. Which statement is correct?
- A 32 KB direct-mapped cache has 64-byte blocks and the processor issues 32-bit byte addresses. How many tag bits does each cache line store?
- A program of 2×10⁹ instructions runs on a 1.5 GHz processor. The mix is 40% instructions of CPI 1, 30% of CPI 2, 20% of CPI 3 and 10% of…
- An unpipelined datapath needs 10 ns per instruction. A 5-stage pipelined version has a clock period of 2.5 ns (including latch overhead)…
- Sixty percent of a program's execution time can be sped up by a factor of 5 and the rest cannot. What is the overall speedup, to two…
- An 8-bit processor adds 0x7F and 0x01 as two's-complement numbers. Which flag setting results?