MICROPROCESSOR AND MICROCONTROLLER

8085 MICROPROCESSOR

FEATURE OF 8085

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
what is the use of EI and DI instruction
A
allows Interrupt & allows Interrupt
B
allows Interrupt & blocks Interrupt
C
blocks Interrupt & allows Interrupt
D
blocks Interrupt & blocks Interrupt
Explanation: 

Detailed explanation-1: -EI instruction is used for the enable the interrupt system of the 8085 processor. DI instruction is used for the disable the interrupt system of the 8085 processor.

Detailed explanation-2: -DI(Disable Interrupt):-The interrupt enable flip-flop is reset and all the interrupts except the TRAP are disabled. No flags are affected. 4. EI(Enable Interrupt):-The interrupt enable flip-flop is set and all interrupts are enabled.

Detailed explanation-3: -Interrupt instructions include EXIT, SIGNAL, CALL, and RETURN. Instructions that interrupt the flow of a program can cause the program to: End (EXIT)

Detailed explanation-4: -Enable Interrupt (EI) – The interrupt enable flip-flop is set and all interrupts are enabled following the execution of next instruction followed by EI. No flags are affected. After a system reset, the interrupt enable flip-flop is reset, thus disabling the interrupts.

There is 1 question to complete.