Machine Instruction: GATE CS Previous Year Questions

Machine Instruction · Computer Organization and Architecture

36 questions · asked in 19 of 27 years (2000–2026)

MCQ 27 · MSQ 1 · NAT 81-mark 22 · 2-mark 14

2000Questions per year2026

Questions 16–20 of 36

Q16GATE 2014 (Session 1)1 markNAT
A machine has a 32-bit architecture, with 1-word long instructions. It has 64 registers, each of which is 32 bits long. It needs to support 45 instructions, which have an immediate operand in addition to two register operands. Assuming that the immediate operand is an unsigned integer, the maximum value of the immediate operand is ____________.

Q17GATE 20132 marksMCQ−0.67 if wrong
Consider the following sequence of micro-operations.
MBR ←\leftarrow PC
MAR ←\leftarrow X
PC ←\leftarrow Y
Memory ←\leftarrow MBR
Which one of the following is a possible operation performed by this sequence?

Q18GATE 20082 marksMCQ−0.67 if wrong
Assume that EA = (X)+ is the effective address equal to the contents of location X, with X incremented by one word length after the effective address is calculated; EA = -(X) is the effective address equal to the contents of location X, with X decremented by one word length before the effective address is calculated; EA = (X)- is the effective address equal to the contents of location X, with X decremented by one word length after the effective address is calculated. The format of the instruction is (opcode, source, destination), which means (destination ⟵\longleftarrow source op destination). Using X as a stack pointer, which of the following instructions can pop the top two elements from the stack, perform the addition operation and push the result back to the stack.

Q19GATE 20081 markMCQ−0.33 if wrong
A processor that has the carry, overflow and sign flag bits as part of its program status word (PSW) performs addition of the following two 2's complement numbers 01001101 and 11101001. After the execution of this addition operation, the status of the carry, overflow and sign flags, respectively will be:

Q20GATE 20082 marksMCQ−0.67 if wrong
In an instruction execution pipeline, the earliest that the data TLB (Translation Lookaside Buffer) can be accessed is

Keep practising

Topics in Computer Organization and Architecture

All CS topics ›