Source of my knowledge-: https://electronics.stackexchange.com/questions/204337/programmed-io-vs-interrupt-for-devices
https://slideplayer.com/slide/265620/
And my teacher.
So here is what I understand about
1) Programmed IO-:
Here CPU periodically executes instruction which reads READY pin
2) Interrupt driven IO-:
Here CPU checks interrupt at the end of each instruction cycle whereas IO device sends interrupt.
The original flowchart for these are as follows-:
https://imgur.com/a/fIwwxyf
Here is what I have made-:
https://imgur.com/a/0woBT73
First one is programmed io and second one is interrupt driven io. In interrupt driven io I mistakenly drew arrow from "CPU issues read command to IO module" to "hardware/CPU checks for interrupt at the end of each instruction cycle".
I just want to know if my understanding of flowchart is correct or not?
https://slideplayer.com/slide/265620/
And my teacher.
So here is what I understand about
1) Programmed IO-:
Here CPU periodically executes instruction which reads READY pin
2) Interrupt driven IO-:
Here CPU checks interrupt at the end of each instruction cycle whereas IO device sends interrupt.
The original flowchart for these are as follows-:
https://imgur.com/a/fIwwxyf
Here is what I have made-:
https://imgur.com/a/0woBT73
First one is programmed io and second one is interrupt driven io. In interrupt driven io I mistakenly drew arrow from "CPU issues read command to IO module" to "hardware/CPU checks for interrupt at the end of each instruction cycle".
I just want to know if my understanding of flowchart is correct or not?