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

1 Expert Approved Answer
Step: 1 Unlock

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

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Systems Analysis And Design Questions!