GATE Computer ScienceVery hardGATE CSE · UGC NET

A 16-bit instruction format uses 4-bit address fields and the expanding-opcode technique. There are 13 three-address instructions, 40 two-address instructions and 100 one-address instructions. What is the maximum number of zero-address instructions that can still be encoded?

  1. A. 464
  2. B. 432
  3. C. 448
  4. D. 208

Correct answer: C. 448

Free 4-bit prefixes: 16−13 = 3 → 3·16 = 48 two-address slots, 8 left after 40 → 8·16 = 128 one-address slots, 28 left after 100 → 28·16 = 448.

More Computer Organization and Architecture questions

Exams that ask this topic