EE 308

Waiting for Bits to Change using Assembly and C

You often have to wait for an event, such as wait until the timer overflows, or until someone
pushes a switch. Here is how to wait until a particular bit of a register is set or cleared.

Bill Rison