Advanced Embedded Systems Question:
Download Questions PDF

Explain issues related to stack and bank 1?

Advanced Embedded Systems Interview Question
Advanced Embedded Systems Interview Question

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 Interview Questions And Answers PDF

Previous QuestionNext Question
Explain me what is the need for DMAC in ES?Tell us what is semaphore?