MICROPROCESSOR AND MICROCONTROLLER

INTERRUPT PROGRAMMING

ARCHITECTURE OF 8085

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
____ interrupt represents break-point interrupt
A
Type 0
B
Type 1
C
Type 2
D
Type 3
Explanation: 

Detailed explanation-1: -It is a 1-byte instruction having op-code is CCH. These instructions are inserted into the program so that when the processor reaches there, then it stops the normal execution of program and follows the break-point procedure. Flag register value is pushed on to the stack.

Detailed explanation-2: -Interrupt type. Interrupts have two types: Hardware interrupt and Software interrupt. The hardware interrupt occurrs by the interrupt request signal from peripheral circuits. On the other hand, the software interrupt occurrs by executing a dedicated instruction. Various factors of occurring the interrupt.

Detailed explanation-3: -The 8086 has two hardware interrupt pins, i.e. NMI and INTR. NMI is a non-maskable interrupt and INTR is a maskable interrupt having lower priority.

Detailed explanation-4: -Type 4: Interrupt on Overflow (INTO) This interrupt occurs if the overflow flag (OF) is set in the flag register. The OF flag is set if the signed result of an arithmetic operation on two signed number is too large to be represented in destination register or memory location.

There is 1 question to complete.