To read a single character from the keyboard, do the following:

mov ah, 0     ;  the subfuction to read a single keystroke in ASCII
int  16h      ;  read the keyboard buffer

output:

    al = ascii code or 0 for function keys
    ah = scan code of key


For a complete description, see page 244 of Assembly Language by Ytha Yu