
#define  LCD_Hook  (*(code *)0000)
#define  KBD_Hook  (*(code *)0002)

main()
{
  LCD_Hook;    // call the lcd routine
  while (1)
  {
    Kbd_Hook;  // call the keyboard scanner
  }
}
