Sources of Interrupts

Embedded System

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

1. Which interrupts are generated by the on-chip peripherals?
a) internal
b) external
c) software
d) hardware

2. Which of the following is the common method for connecting the peripheral to the processor?
a) internal interrupts
b) external interrupts
c) software
d) exception

3. Which interrupt can make a change in the processor’s mode?
a) internal interrupt
b) external interrupts
c) exceptions
d) software mode

4. How many exceptions does an MC68000 have?
a) 256
b) 128
c) 90
d) 70

5. Which interrupts allows a protected state?
a) internal interrupt
b) external interrupt
c) software interrupt
d) both internal and external interrupts

6. How a software interrupt is created?
a) instruction set
b) sequential code
c) concurrent code
d) porting

7. What does SWI stand for?
a) standard interrupt instruction
b) sequential interrupt instruction
c) software interrupt instruction
d) system interrupt instruction

8. Which of the following use SWI as interrupt mechanism?
a) PowerPC
b) MC68000
c) Z80
d) IBM PC

9. Which of the following supplies additional data to the software interrupt?
a) internal interrupt
b) external interrupt
c) software interrupt
d) nmi

10. Which software interrupt is used in MC68000?
a) Internal interrupt
b) TRAP
c) SWI
d) NMI

11. Which of the following are accessible by the ISR in software interrupt mechanism?
a) register
b) interrupt
c) nmi
d) memory
.

12. What allows the data protection in the software interrupt mechanism?
a) Different mode
b) Same mode
c) SWI
d) TRAP

13. What does NMI stand for?
a) non-machine interrupt
b) non-maskable interrupt
c) non-massive interrupt
d) non-memory interrupt

14. Which NMI is used in the IBM PC?
a) SWI
b) TRAP
c) 80×86 NMI
d) Maskable interrupt

15. Which can be used to pass the status information to the calling software in the software interrupt mechanism?
a) register
b) memory
c) flag
d) nmi

Leave a Reply

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