Question: It is common practice for programmers to create continuous test - and - loop code in order to poll I/O devices or wait for interrupts
It is common practice for programmers to create continuous test - and - loop code in order to poll I/O devices or wait for interrupts to occur. Some processors provide an instruction ( WAIT or HALT ) that allows the processor to hibernate until an interrupt occurs. Why is the latter form more efficient and desirable?
Step by Step Solution
3.40 Rating (150 Votes )
There are 3 Steps involved in it
Efficiency of Using WAIT or HALT Instruction for Polling IO Devices When programmers create continuous testandloop code to poll IO devices or wait for ... View full answer
Get step-by-step solutions from verified subject matter experts
