MICROPROCESSOR AND MICROCONTROLLER

INTERRUPT PROGRAMMING

ARCHITECTURE OF 8085

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which of the following method will avoid the microcontroller from tying down?
A
Polling method
B
Interrupt method
C
Either A or B
D
None of the above
Explanation: 

Detailed explanation-1: -The “di instruction” and “ei instruction” of the assembler instruction can be used to disable an interrupt locally in a function described in C language.

Detailed explanation-2: -The address of the service routine in vectored interrupt is hard-wired and in non-vectored interrupts, the address of the service routine needs to be supplied extremely by the device. The DI interrupt instruction is used to disable the interrupt and the EI interrupt instruction is used to enable the instruction.

There is 1 question to complete.