Explore topic-wise MCQs in Microprocessors.

This section includes 9 Mcqs, each offering curated multiple-choice questions to sharpen your Microprocessors knowledge and support exam preparation. Choose a topic below to get started.

1.

WHEN_THE_CPU_EXECUTES_IRET,?$

A. contents of IP and CS are retrieved
B. the control transfers from ISR to main program
C. clears the trap flag
D. clears the interrupt flag
Answer» B. the control transfers from ISR to main program
2.

AT_THE_END_OF_ISR,_THE_INSTRUCTION_SHOULD_BE?$

A. END
B. ENDS
C. IRET
D. INTR
Answer» D. INTR
3.

After every response to the single step interrupt the flag that is cleared i?

A. IF (Interrupt Flag)
B. TF (Trap Flag)
C. OF (Overflow Flag)
D. None of the mentioned
Answer» C. OF (Overflow Flag)
4.

During the execution of an interrupt, the data pushed into the stack is the content of

A. IP
B. CS
C. PSW
D. All of the mentioned
Answer» E.
5.

The type of the interrupt may be passed to the interrupt structure of CPU from

A. interrupt service routine
B. stack
C. interrupt controller
D. none of the mentioned
Answer» D. none of the mentioned
6.

The interrupt request that is independent of IF flag is

A. NMI
B. TRAP
C. Divide by zero
D. All of the mentioned
Answer» E.
7.

Example of an external interrupt is

A. divide by zero interrupt
B. keyboard interrupt
C. overflow interrupt
D. type2 interrupt
Answer» C. overflow interrupt
8.

If the interrupt is generated by the execution of an interrupt instruction then it is

A. internal interrupt
B. external interrupt
C. interrupt-in-interrupt
D. none of the mentioned
Answer» B. external interrupt
9.

If an interrupt is generated from outside the processor then it is an

A. internal interrupt
B. external interrupt
C. interrupt
D. none of the mentioned
Answer» C. interrupt