while(!(PORTAD&0x80)) /* exit if toggle switch 7 is �off� */ { i=0; /* start with task 0 */ while(i