简单字符串输入输出问题,如何解决?
DATA SEGMENTAA DB 0DH,'Please input a string:$'
BB DB 0DH,0AH,'Print the string:$'
CC DB ?
DB ?
DB 8 DUP(?)
DATA ENDS
CODE SEGMENT
ASSUME CS:CODE,DS:DATA
BEGIN:MOV AX,DATA
MOV DS,AX
LEA DX,AA
MOV AH,9
INT 21H
LEA DX,CC
MOV AH,10
INT 21H
LEA DX,BB
MOV AH,9
INT 21H
LEA DX,CC
MOV AH,10
INT 21H
CODE ENDS
END BEGIN
程序没错误,就是程序不让我输入字符串。郁闷中~~~~