Skip to content
Official PYQ · 1995

GATE CS 1995 Q1.2 — Machine Instructions and Addressing Modes

Explain with AI

Which of the following statements is true?

Choose one option
View worked solution

Answer: C

Let us analyze each statement to determine its validity:

  • Option A (Incorrect): ROM stands for Read-Only Memory. It is non-volatile memory designed primarily for reading data, not for general read/write operations.
  • Option B (Incorrect): The Program Counter (PC) holds the address of the next instruction to be fetched and executed, rather than the last instruction that was executed.
  • Option C (Correct): A stack is a linear data structure that operates on the LIFO (Last-In, First-Out) principle, where the element inserted last is the first one to be popped out.
  • Option D (Incorrect): Not all instructions affect the status flags. While arithmetic and logical instructions typically modify flags (like Zero, Carry, Sign, etc.), data movement instructions (e.g., MOV, PUSH, POP) and control transfer instructions (e.g., JMP) generally do not affect them.

Therefore, only statement C is true.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Machine Instructions and Addressing Modes questions