Which stack is used in 8085 microprocessors?

Which stack is used in 8085 microprocessors?
| Which stack is used in 8085 microprocessors?

A. FIFO

B. LILO

C. LIFO

D. None of the above

Please scroll down to see the correct answer and solution guide.

Right Answer is: C

SOLUTION

The Stack pointer (SP):

  • The stack is an area of the read-write memory (RAM) in which temporary information is stored on last-in-first-out (FILO) basis
  • After initialization, an address is assigned in the RAM area to the first stack entry position (Where the first information is stored) afterward, stack writing instructions fill memory positions in progressively decreasing addresses
  • The stack pointer register holds the address of the last byte written onto the stack; This is also called the top of stack or stack top
  • The stack pointer is decremented automatically when data is read out from the stack