Advanced Embedded Systems Question:

Explain issues related to stack and bank 1?

Tweet Share WhatsApp

Answer:

☛ Bank 1 uses the same RAM space as the stack.
☛ Stack pointer is incremented or decremented according to the push or pop instruction.
☛ If the stack pointer is decremented it uses locations 7,6,5… which belongs to register bank 0.
☛ If a given program uses R1 then stack is provided new memory location.
☛ The push instruction may also take stack to location 0 i.e.it will run out of space.

Download Advanced Embedded Systems PDF Read All 76 Advanced Embedded Systems Questions
Previous QuestionNext Question
Explain me what is the need for DMAC in ES?Tell us what is semaphore?