GATE Computer ScienceVery hardGATE CSE · UGC NET

A 16-bit instruction has 5-bit address fields and expanding opcodes. There are 40 two-address instructions and 600 one-address instructions. What is the maximum number of zero-address instructions?

  1. A. 4352
  2. B. 4864
  3. C. 5376
  4. D. 6400

Correct answer: C. 5376

The 6 free opcode bits give 64 two-address slots, so 24 prefixes remain, giving 24 × 32 = 768 one-address slots; after 600 are used, 168 remain, each expanding into 32 zero-address codes: 168 × 32 = 5376.

More Computer Organization and Architecture questions

Exams that ask this topic