Physics, asked by EmanTahir82101, 1 year ago

What is stack? Explain the operation of stack in 8051 microcontroller.

Answers

Answered by Jyotimodi
2

The stack is an area of random access memory (RAM) allocated to hold temporarily all the parameters of the variables.

The collection of general purpose registers (R0-R7) is called as register banks, which accept one byte of data. The bank register is a part of the RAM memory in the embedded microcontrollers, and it is used to store the program instructions. Each microcontroller consists of various memory banks, and each bank register consists of a unique address for recognizing the storage .

The 8051 microcontroller consists of four register banks, such as Bank0, Bank1, Bank2, Bank3 which are selected by the PSW (Program Status Word) register. These register banks are present in the internal RAM memory of the 8051 microcontroller, and are used to process the data when the microcontroller is programmed.

Answered by RUHIADAHIR
6

Answer:

A software stack incorporates only software components required to run an application, some of which could be virtualization or abstracted physical hardware resources. A technology stack includes both software and hardware components of IT infrastructure.

Explanation:

hope it helps

Similar questions