GATE Computer ScienceHardGATE CSE · UGC NET
Booth's algorithm multiplies by the 8-bit two's-complement multiplier 01110110. Counting only the additions and subtractions of the multiplicand (not shifts), how many such operations are performed, and how many would a plain shift-and-add multiplier perform?
- A. 5 for Booth, 4 for shift-and-add
- B. 5 for Booth, 5 for shift-and-add
- C. 4 for Booth, 6 for shift-and-add
- D. 4 for Booth, 5 for shift-and-add
Correct answer: D. 4 for Booth, 5 for shift-and-add
Booth acts at each 01 or 10 boundary of the bit string (with an appended 0 on the right): 01110110 has 4 boundaries; plain shift-and-add adds once per 1 bit (5).
Practise more Computer Organization and Architecture questionsComputer Organization and Architecture: notes and key points
More Computer Organization and Architecture questions
- A 5-stage pipeline (IF, ID, EX, MEM, WB) has no forwarding; the register file is written in the first half of a cycle and read in the…
- A two-level cache: L1 hit time 1 ns with 5% miss rate; L2 hit time 10 ns with a LOCAL miss rate of 20%; main memory access 100 ns. The…
- A 5-stage pipeline has ideal CPI 1. 20% of instructions are branches, 60% of which are taken; branches are predicted not-taken and a taken…
- A 32-bit instruction format holds two register specifiers (the machine has 48 registers) and a 12-bit immediate; all remaining bits form…
- A SECDED (single-error-correct, double-error-detect) extended Hamming code protects 256 data bits. What is the total number of bits stored…
- A virtually indexed, physically tagged 256 KB cache is 8-way set associative with 64-byte lines. The page size is 4 KB. Into how many page…