8051 interrupts and the USB interrupts

Question: What are thedifferences between the 8051 interrupts and the USB interrupts?

 

Answer:

In order to have a clear picture of the relationship between the 8051 interrupts and the USB Interrupts, all you have to remember is that the 8051 interrupts and USB interrupts are handled differently. The USB interrupt vector generation is handled by the USB Jump Table (USBJmpTb.obj), and the 8051 interrupt vector generation is handled by the Keil compiler. The #pragma noiv statement in periph.c tells the Keil compiler to use the USB Jump Table for generating the interrupt vectors for the USB Interrupts, instead of its own interrupt vector scheme (which follows the traditional 8051 scheme).