CW2 Exception (2)
CW2 Exception (2)
Lecture 3 (Exception/Interrupt)
Points 100
Name:
(Chapters: Hohl 14.2-14.8,15.2-15.6, Wolf 3.2)
ARM-V7:: (Mostly from Hohl Chapter 14 )
1. What is exception, interrupt and trap? What are the three ways to get CPU’s attention?
6
4. What is the basic sequence to handle exceptions? Write down the steps. 6
5. What is vector table? How is it organized and mapped in memory (we can assume it
virtual memory)? What is VIC? Why it is needed? 9
6. What is the diVerence between exception handling and interrupt handling? 5
7. What are the software exceptions (SVC)? How can you resolve them? Explain them in
brief. 6
8. What is exception priorities? 3
13. What are the types of stack pointers in cortex processors? What are the use of them?
How are they used? 6
14. What are the registers used in cortex processors to handle exceptions? Write down the
sequence of operations to access and exit exceptions in cortex processors. 6
17. How many interrupts possible in cortex-M and cortex-M4 processors? In reality how
many interrupts actually supported in TM4C123GH6PM? 5
18. Write down the steps to configure an interrupt. 4
19. How subroutines are managed in program? How program return back to caller
procedure? Explain with stack, RAS, local variables etc.
20. What is tail chaining and late arriving preemption? Explain in brief with example.