How the CPU handles interrupts
1. The interrupt service routine is added to a particular area where a certain set of instructions are sent that will need to be fetched, decoded and executed to complete the commands of the interrupt
2. The current registers (Program Counter, Current Instruction Register, Memory Address Register, Memory Data Register) will need to be changed to accommodate the interrupt
3. The current values held in the registers are copied back to the RAM in an area known as a stack
4. These values are pushed onto the stack and are added to the top of the stack frame, which will save them for later retrieval when the interrupt is complete
5. There is a possibility that an interrupt can also be interrupted which is known as a division by zero. Due to the system in RAM with stack frames, the current interrupt would be moved to the bottom of the stack frame to complete the main interrupt initially