.386
STACK SEGMENT USE32
DB 200 DUP(0)
STACK ENDS
CON EQU 500
DATA SEGMENT USE16
A DW M
BUF DB 'AB',0DH,0AH
B DW 0FFAAH
D DD BUF
M DB 2 DUP(1),2 DUP(2,'B'),'123',1,2,3
DATA ENDS
CODE SEGMENT USE16
ASSUME CS:CODE,DS:DATA,SS:STACK
START:
MOV AX,DATA
MOV DS,AX
MOV AL,BUF;MOV AL,[0002]
MOV AL,[BUF];MOV AL,[0002]
MOV AX,offset BUF;MOV AX,0002
LEA AX,[BUF];LEA AX,[0002]
LEA AX,BUF;LEA AX,[0002]
MOV AH,4CH
INT 21H
CODE ENDS
END START