Chapter6 Cont
Chapter6 Cont
Chapter6 Cont
Chapter 6, Cont…
Working with interrupts
The CPU will store the PC and jump to ISR to execute it.
When it retfie, the PC will be index to next instruction that is
movwf porta, BUT Unfortunately with A NEW value for the
W register and Status Register Since we did not save the
content of them before executing the ISR.