putc instruction added, needs debugging