how can you input a string, clear the screen, then print Hello "string"?
example:
org 100h
MOV AX,03
INT 10H
MOV AH,02
MOV BH,00
MOV DH,0CH
MOV DL,19H
INT 10H
MOV DX,OFFSET MSG1
MOV AH,09
INT 21H
MOV DX,OFFSET SZ
MOV AH,0AH
INT 21H
MOV AX,03
INT 10H
MOV AH,02
MOV BH,00
MOV DH,0FH
MOV DL,0AH
INT 10H
MOV AH,09
MOV DX,OFFSET MSG2
INT 21H
MOV DX,(XXXXX)
INT 21H
INT 20H
ret
MSG1 DB "ENTER NAME: $"
MSG2 DB "HELLO $"
SZ db 25,?, 25 dup(' ')
i dont know what to put in the XXXXX part..
can someone tell me where the inputted string is stored?
is the code correct?
TIA