MICROPROCESSOR AND MICROCONTROLLER

INTERRUPT PROGRAMMING

ARCHITECTURE OF 8085

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Give the name of interrupt in INTCON register.
A
TMR0
B
TMR1
C
INT0
D
INT1
Explanation: 

Detailed explanation-1: -The INTCON register contains these interrupts: INT Pin Interrupt, the RB Port Change Interrupt, and the TMR0 Overflow Interrupt.

Detailed explanation-2: -SETTING the INTE bit allows an interrupt from the signal on RB0, CLEARING this bit disables the interrupt. bit 3: RBIE: The Port Change Interrupt Enable bit allows an interrupt when there is a change of state on pins RB7, RB6, RB5 and RB4 on PORTB.

Detailed explanation-3: -INT0IF: This is External Interrupt 0 (INT0) flag bit. INT0IE: This bit enables/disables the External Interrupt 0. PEIE/GIEL: This bit is used to enable/disable all the peripheral interrupts (Internal interrupts) of the controller. But GIE/GIEH bit must be set to high first.

Detailed explanation-4: -INTCON Register: Bit 7: GIE (Global Interrupt Enable bit): enables or disables all INTs. Bit 6: EEIE (EEPROM Write Complete Interrupt Enable bit): enables an INT at the end of a writing routine to EEPROM.

There is 1 question to complete.