getc: xor ax, ax int 0x16 test al, al jz getc ret putc: mov al, dl mov ah, 0x0e xor bx, bx int 0x10 ret