Instruction Set & Addressing Modes — GATE CS Previous Year Questions
Practise GATE CS previous year questions on Instruction Set & Addressing Modes in Computer Organization & Architecture (COA). Filter by year, marks and question type.
Public question previews
- Consider a processor P whose instruction set architecture is the load-store architecture. The instruction format is such that the first operand of any instruction is the destination operand. Which one of the following sequences of instructions corresponds to the high-level language statement Z = X + Y ? Note: X, Y, and Z are memory operands. R0, R1, and R2 are registers. (2026 · 1 mark · MCQ)
- Consider a processor that has 16 general purpose registers and it uses 2-byte instruction format for all its instructions. Variable-sized opcodes are permitted. There are three different types of instructions; M-type, R-type, and C-type. Each M-type instruction has 2 register operands and a 6-bit immediate operand. Each R-type instruction has 3 register operands. Each C-type instruction has a register operand and a 6-bit offset value. If there are 2 unique M-type opcodes and 7 unique R-type opcodes, which one of the following options gives the maximum number of unique opcodes possible for C-type instructions? (2026 · 2 marks · MCQ)
- A processor has 64 general-purpose registers and 50 distinct instruction types. An instruction is encoded in 32-bits. What is the maximum number of bits that can be used to store the immediate operand for the given instruction? ADD R1, #25 // R1 = R1 + 25 (2025 · 2 marks · MCQ)
- Which of the following is/are part of an Instruction Set Architecture of a processor? (2025 · 1 mark · MSQ)