RISC Exceptions

Embedded System

This set of Embedded Systems Multiple Choice Questions & Answers (MCQs) focuses on “RISC Exceptions”.

1. What does MSR stand for?
a) machine state register
b) machine software register
c) minimum state register
d) maximum state register

2. How many supervisor registers are associated with the exception mode?
a) 2
b) 3
c) 4
d) 5

3. What happens when an exception is completed?
a) TRAP instruction executes
b) SWI instruction executes
c) RFI instruction executes
d) terminal count increases

4. How many general types of exceptions are there?
a) 2
b) 3
c) 6
d) 4

5. In which of the exceptions does the external event causes the exception?
a) synchronous exception
b) asynchronous exception
c) precise
d) imprecise

6. Which of the exceptions are usually a catastrophic failure?
a) imprecise exception
b) precise exception
c) synchronous exception
d) asynchronous exception

7. Which of the exceptions allows the system reset or memory fault?
a) imprecise exception
b) precise exception
c) synchronous exception
d) asynchronous exception

8. Which registers are used to determine the completion status?
a) MSR
b) flag register
c) DSISR
d) index register

9. Which of the following does not support PowerPC architecture?
a) synchronous precise
b) asynchronous precise
c) synchronous imprecise
d) asynchronous imprecise

10. Which exceptions are used in the PowerPC for floating point?
a) synchronous imprecise
b) asynchronous imprecise
c) synchronous precise
d) synchronous imprecise

11. Which exception is used in the external interrupts and decrementer-caused exceptions?
a) synchronous precise
b) asynchronous precise
c) synchronous imprecise
d) asynchronous imprecise

12. Which exception can be masked by clearing the EE bit to zero in the MSR?
a) synchronous imprecise
b) synchronous precise
c) asynchronous imprecise
d) asynchronous precise

13. Which of the following can be done to ensure that all interrupts are recognised?
a) reset pin
b) external ready pin
c) handshaking
d) acknowledgment

14. How many types of exceptions are associated with the asynchronous imprecise?
a) 1
b) 2
c) 3
d) 4

15. How is the internal registers and memories are reset?
a) system reset
b) memory reset
c) peripheral reset
d) software reset

16. How is the machine check exception is taken in an asynchronous imprecise?
a) ME bit
b) EE bit
c) FE0
d) FE1

17. Which of the following are the exceptions associated with the asynchronous imprecise?
a) decrementer interrupt
b) machine check
c) instruction dependent
d) external interrupt

18. Which of the following possesses an additional priority?
a) asynchronous precise
b) asynchronous imprecise
c) synchronous precise
d) synchronous imprecise

19. Which of the following has more priority?
a) system reset
b) machine check
c) external interrupt
d) decrementer interrupt

20. Which bit controls the external interrupts and the decrementer exceptions?
a) FE1
b) FE0
c) EE
d) ME

21. Which bit controls the machine check exceptions?
a) ME
b) FE0
c) FE1
d) EE

22. Which bits control the floating point exceptions?
a) EE
b) FE0
c) FE1
d) both FE1 and FE2

23. Which of the following is a 16 kbyte block?
a) register
b) vector table
c) buffer
d) lookaside buffer

Leave a Reply

Your email address will not be published. Required fields are marked *