> >> because the halt would end on the next interrupt, turning the calc back on. >> You wouldn't have even noticed that the calc turned off. > >Thats why the halt is in a loop. no, it's not in a loop. halt waits for an interrupt ... when the calc is turned off so are the interrupts _except_ for the on key interrupt, which ends the halt when it is triggered.