GATE Computer ScienceEasyGATE CS (PYQ pattern)

A processor has 64 general registers and a fixed 32-bit instruction word. Its three-register format has three 6-bit register fields and nothing else besides the opcode. What is the largest number of distinct opcodes this format can encode?

  1. A. 32768
  2. B. 16384
  3. C. 4096
  4. D. 8192

Correct answer: B. 16384

Register fields use 3 × 6 = 18 bits, leaving 32 − 18 = 14 bits of opcode, so 2¹⁴ = 16384.

More Computer Organization and Architecture questions

Exams that ask this topic