Which of the following statements is true?
ROM is a Read/Write memory
PC points to the last instruction that was executed
Stack works on the principle of LIFO
All instructions affect the flags
It is (C).
Only the top of the stack can be accessed at any time. You can imagine a stack to be opened from only one side data structure. So that if we put one thing over the other, we are able to access the last thing we inserted first. That is Last in First Out (LIFO).
ROM is Read Only Memory.
PC points to the next instruction to be executed.
Not all instructions affect the flags.
@vickyrix draw some light on this question