Which of the following statements is true?
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.
