GATE 2026 IN – Question 56
A 16-bit processor has 16-bit wide instructions and a few internal registers. Every 16-bit instruction is encoded in a fixed format with one operation code of 7 bits and up to three operands. The operand can be an internal register and each operand is encoded by 3 bits. All the internal registers can be specified in an instruction using three bits. The correct statement(s) for this processor is/are _____.
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (B) The processor can support 128 unique operation codes (Opcodes).; (C) The processor has up to 8 internal registers.
Explanation
A 7-bit opcode field represents at most $2^7=128$ distinct operation codes, so B is true and D is false. A 3-bit register field can identify at most $2^3=8$ internal registers, so C is true and A is false.
The three operand fields use $3\times3=9$ bits, leaving the stated seven opcode bits in the 16-bit instruction. Select **B and C**.