Hi,
I have got myself in a muddle using the mov ah, 0ah to get input. Can someone please follow my logic and see where I am going wrong.
input: db 20
db 0
resb 20 ; so I reserve space for 20 bytes/characters
main:
mov ah,0ah
mov dx,input
int 21h ; then I call the interrupt, which seems to work
after this I cannot work out how to access the input. I would like to
mov dx,input
mov ah,09
int 21h
So that I can check the input, but this just displays garbage. How would I display what I have just put into input?
Cheers
Laurence