Department of Computer Science and Information EngineeringNational Cheng Kung University, TAIWAN
HANELPROGRAMMING
IN C
The 8051 compiler have extensive support for the interrupts
¾They assign a unique number to each of the 8051 interrupts ¾It can assign a register bank to an ISR
This avoids code overhead due to the pushes and pops of the R0
- R7 registers
5(TF2)Timer 2 (8052 only)4(RI + TI)Serial CommunicationName(INT0)(TF0)(INT1)(TF1)3Timer Interrupt 12External Interrupt 11Timer Interrupt 00External Interrupt 0NumbersInterrupt