We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,
I would like to know whether my understanding is right or not regarding to the interrupt (exception).
When an interrupt is issued, the interrupt is executed at once without the completeion of the executing instrructions.
And, the contents of the result queue is discarded.
After the interrupt execution is completed, all instructions that was included in result queue is executed again without refetch instructions.
If my understanding is right, which area is all feteched instructions stored for re-execution after return from the exception?
I appreciate your quick reply.
Best regards,
Michi
Dear Peterrienlly-san,
Thank you for your reply. Your information is very helpful for me.
BTW, please let me know one more.
You said "The processors state when you enter the ISR must be as if the previous instruction had fully finished executing, you cannot take an interrupt in the middle of an instruction."
I would like to know the meaning "fully finished executing". Does this sentence "finished executing" include "write-back to register files (retirement)? Or does it means to store the result to "result queue" (completion)?
Which is right?
Please advise me.