.386
STACK SEGMENT USE32
DB 200 DUP(0)
STACK ENDS
DATA1 SEGMENT USE16
T1 DW -50H
T2 DD F
DATA1 ENDS
;
DATA2 SEGMENT USE16
BUF DB 'ABCDEF'
F DW 70H
DATA2 ENDS
;
CODE SEGMENT USE16
ASSUME CS:CODE,DS:DATA1,SS:STACK
START:
MOV AX,DATA1
MOV DS,AX
;
MOV AX,T1
;LDS SI,T2
;MOV AX,[SI]
MOV AX,DATA2
MOV DS,AX
MOV AX,DS:F
MOV AH,4CH
INT 21H
CODE ENDS
END START
标签:ENDS,DATA1,MOV,AX,p61Demo8,SEGMENT,DS,DATA2
From: https://blog.51cto.com/gjwrxz/6539578