STACK SEGMENT STACK DB 100 DUP(?) STACK ENDS DATA SEGMENT X DB ' A ',13,10 DB ' A A ',13,10 DB ' AAAAA ',13,10 DB ' A A ',13,10 DB ' A A $',13,10 DATA ENDS CODE SEGMENT ASSUME CS:CODE,DS:DATA,SS:STACK MAIN PROC FAR PUSH DS MOV AX,0 PUSH AX MOV AX,DATA MOV DS,AX MOV DX,OFFSET X MOV AH,9H INT 21H MOV AH,1H INT 21H RET MAIN ENDP CODE ENDS END MAIN 貌似就是这个