Now that it's working - need more torture?
What if the processor is powered down and then brought back up? (For example, the plant's power flickers). What do you want to happen to your toggled ON bit in that situation? Always start up in the OFF condition? No problem - you're home free. But suppose that it was ON when you shut down - and that it's CRITICAL that it come back up in the ON condition.
Is there no end to this madness?
Offline until Tuesday - have a safe and happy holiday.