What is stack and can we use ROM as stack?

0 votes
148 views
Royce Roy asked 13-Nov-2017 in Technology by Royce Roy

What is stack and can we use ROM as stack?

1 Answer

0 votes
Samuel Fernandes answered 13-Nov-2017 by Samuel Fernandes
ROM cannot be used as a stack, as it is not possible to write on ROM. And Stack is state as,its a portion of RAM used for saving the content of the program counter and general purpose registers.