Hi, I would like to ask something about interrupt...
I would like to know how will the 6502 handle following case:
1. a subroutine is just called from main loop...
2. a timer interrupt is triggerred during the mid-way of the subroutine described in (1).
How will the 6502 handle the case? Will it push all the register and halt the subroutine, and then call the interrupt subroutine?
or, the interrupt subroutine will run until the subroutine running is finished?
thanks very much
Regards,
Sunny
I would like to know how will the 6502 handle following case:
1. a subroutine is just called from main loop...
2. a timer interrupt is triggerred during the mid-way of the subroutine described in (1).
How will the 6502 handle the case? Will it push all the register and halt the subroutine, and then call the interrupt subroutine?
or, the interrupt subroutine will run until the subroutine running is finished?
thanks very much
Regards,
Sunny