MICROPROCESSOR AND MICROCONTROLLER

INTRODUCTION TO MICROPEOCESSOR

MODEL OF MICROPROCESSOR

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which stack is used in 8085 microprocessors?
A
FIFO
B
LIFO
C
LILO
D
FILO
Explanation: 

Detailed explanation-1: -The stack is an area of the read-write memory (RAM) in which temporary information is stored on last-in-first-out (LIFO) basis.

Detailed explanation-2: -The stack is a LIFO (last in, first out) data structure implemented in the RAM area and is used to store addresses and data when the microprocessor branches to a subroutine.

Detailed explanation-3: -8086 stack The stack is a block of memory that may be used for temporarily storing the contents of registers inside CPU. Stack is accessed by using SP and SS. Stack is a Top Down Data Structure whose elements are accessed by using a pointer (SP, SS). The stack is required when CALL instruction is used.

Detailed explanation-4: -In 8085 Instruction set, STAX is a mnemonic that stands for SToreAccumulator contents in memory pointed by eXtended register denoted as “rp”. Hererp stands for register pair. This instruction uses register indirect addressing for specifying the destination.

Detailed explanation-5: -The initialization of the stack pointer can be done by Load Stack Pointer. The stack in 8085 performs both PUSH and POP operations. Both the operations work together with register pairs following the LIFO principle.

There is 1 question to complete.