GATE / CS ARCHIVE

SUBJECT COLLECTION

Computer Organization & Architecture · Other / Mixed Topics

1 questions, newest first

Browse topics
1 mark · MCQ
Report issue

A true machine organization statement

Other / Mixed Topics

Question 1.2, GATE 1995: Choose the true statement: ROM is read/write; PC points to the last executed instruction; stack is LIFO; all instructions affect flags.
Tap to enlarge
Your answer
Answer & solution

Answer: C (no official key was published)

A stack removes the most recently pushed item first, which is last-in-first-out. Ordinary ROM is not general read/write memory. A program counter conventionally identifies the next instruction to fetch or the current fetch position, not a record of the last completed instruction. Instructions such as data moves can leave flags unchanged, so not every instruction affects them. Therefore only the stack statement C is a reliable general description among these alternatives.

Original paper, page 1