-#ifdef SDCC
-static xdata at 0x0080 byte leds0;
-static xdata at 0x00c0 byte leds1;
-#else
-static byte xdata leds0 _at_ 0x0080;
-static byte xdata leds1 _at_ 0x00c0;
-#endif
-
-#define leds(word) \
- do \
- { \
- leds0 = ~LOW(word); \
- leds1 = ~HIGH(word); \
- } \
- while (0)
-
-
-void sleep(unsigned char times)
-{
- unsigned int i;
- unsigned char j;
- for (i = 0; i < 0xffff; ++i)
- for (j = 0; j < times; ++j);
-}
-