How do interrupts work on the Intel 8080? I have searched Google and in Intel\'s official documentation (197X), and I\'ve found only a little description about this. I need a d
Function pointers to the interrupt handlers are stored in the low memory. Some 32 or so of the first addresses are hardware interrupts: hardware triggered.
The next 32 or so address are user-triggerable, these are called software interrupts. They are triggered by an INT
instruction.
The parameter to INT is the software interrupt vector number, which will be the interrupt called.
You will need to use the IRET
instruction to return from interrupts.
It's likely you should also disable interrupts as the first thing you do when entering an interrupt.
For further detail, you should refer to the documentation for your specific processor model, it tends to vary widely.