汇编语言的输出问题,输出一堆乱码,为什么?
DATASEGMENTMATHDB5DUP(5),'$'DATAENDSCODESEGMENTASSUMEDS:DATA,CS:CODESTART:MOVAX,CODEM...
DATA SEGMENT
MATH DB 5 DUP(5),'$'
DATA ENDS
CODE SEGMENT
ASSUME DS:DATA,CS:CODE
START:
MOV AX,CODE
MOV DS,AX
MOV AH,09H
LEA DX,MATH
INT 21H
MOV AH,4CH
INT 21H
CODE ENDS
END START 展开
MATH DB 5 DUP(5),'$'
DATA ENDS
CODE SEGMENT
ASSUME DS:DATA,CS:CODE
START:
MOV AX,CODE
MOV DS,AX
MOV AH,09H
LEA DX,MATH
INT 21H
MOV AH,4CH
INT 21H
CODE ENDS
END START 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询