源程序:
DATA SEGMENT
ST1 DB 50H
BUFF DB ?
DB 50H DUP('0')
DB '$'
DATA ENDS
CODE SEGMENT
MAIN PROC FAR
ASSUME CS:CODE,DS:DATA
START: MOV AX,DATA
MOV DS,AX
MOV AH,0AH
MOV DX,OFFSET ST1
源程序:
DATA SEGMENT
ST1 DB 50H
BUFF DB ?
DB 50H DUP('0')
DB '$'
DATA ENDS
CODE SEGMENT
MAIN PROC FAR
ASSUME CS:CODE,DS:DATA
START: MOV AX,DATA
MOV DS,AX
MOV AH,0AH
MOV DX,OFFSET ST1