GATE CS 2024 (Afternoon) — Question 61

Computer Organization and Architecture (COA)Machine Instructions & Addressing ModesNAT2 marksMedium

A processor uses a 32-bit instruction format and supports byte-addressable memory access. The ISA of the processor has 150 distinct instructions. The instructions are equally divided into two types, namely R-type and I-type, whose formats are shown below. R-type Instruction Format:
Question image
I-type Instruction Format:
Question image
In the OPCODE, 1 bit is used to distinguish between I-type and R-type instructions and the remaining bits indicate the operation. The processor has 50 architectural registers, and all register fields in the instructions are of equal size. Let \( X \) be the number of bits used to encode the UNUSED field, \( Y \) be the number of bits used to encode the OPCODE field, and \( Z \) be the number of bits used to encode the immediate value/address field. The value of \( X + 2Y + Z \) is ________.
Practise the full 2024-AN paper
Challenge a friend: WhatsApp Telegram
Recommended book · affiliate linkComputer Organization and Design (Patterson & Hennessy)Pipelining, caches, memory hierarchy and instruction sets.
Practise more on Machine Instructions & Addressing ModesTimed, in the real exam interface · free to start

A GATE question every morning

One real past-paper question every morning for your branch, answer hidden until you tap. Free on Telegram.

Join
Stuck? Ask in the student group