Well from what I've learned, create a record in the data segment to hold your string like this:
INVAL LABEL BYTE ;Align all values on a byte for this to
;work
MAXLEN DB 10D; Tell the max input
ACTLEN DB ?
STRVAL DB 10 DUP (' ')
then to actually fill the data slot
MOV AX,0AH
LEA DX,INVAL; INVAL is a label so starts on offset of Maxlen
INT 21H; Call the DOS Interrupt 21
If you aren't using DOS, then I think there is something similiar for a function in BIOS INT 10H, since I have no experience assembly programming on non dos systems.
Then after this, you could parse the STRVAL for your inputs, your own user defined method likely, but it might be very inefficient. I don't know. I'm pretty new to assembly programming. Hope any of that helps anyways.
JavaDude32