__sfr __at 0x3f sif;

void
_putchar(unsigned char c)
{
  sif= 'p';
  sif= c;
  return;
  c;
#ifndef __SDCC_STACK_AUTO
  __asm
    mov a, __putchar_PARM_1+0
    .db 0x00, 0xff
  __endasm;
#else
  __asm
    mov	a, sp
    add	a, #0xfc
    mov	p, a
    idxm	a, p
    .db 0x00, 0xff
  __endasm;
#endif
}

void
_initEmu(void)
{
}

void
_exitEmu(void)
{
  sif= 's';
  return;
  __asm
    stopsys
  __endasm;
}
