Consider a processor with 16 general-purpose registers and a 2-byte…

PYQ GATE 2026

Consider a processor with 16 general-purpose registers and a 2-byte instruction format for every instruction. Variable-sized prefix opcodes are permitted. There are three instruction types: M-type, R-type, and C-type. Each M-type instruction has two register operands and a 6-bit immediate operand. Each R-type instruction has three register operands. Each C-type instruction has one register operand and a 6-bit offset. If there are 2 unique M-type opcodes and 7 unique R-type opcodes, what is the maximum possible number of unique C-type opcodes?

  1. A.

    8

  2. B.

    4

  3. C.

    64

  4. D.

    16

Attempted by 315 students.

Sign up free to check your answer

Sign up free

Explore the full course: Zero To Hero

Loading lesson…