#define LED0 0X01
#define LED1 0x02
#define LED1 0x02
#define LED2 0x04
#define LED3 0x08
static unsigned LedState = 0;
out port LEDPORT;
#define TURNON(p) {LedState |= p;\
LEDPORT <: LedState ; }
#define TURNOFF(p) {LedState &= ~p;\
LEDPORT <: LedState ; }