DATAS SEGMENT ;数据段
S1 DB 50 DUP(?)
S2 DB 50 DUP(?)
DATAS ENDS
CODES SEGMENT ;代码段
ASSUME CS:CODES,DS:DATAS,ES:DATAS
START: MOV AX,DATAS ;初始化
MOV DS,AX
MOV ES,AX
LEA SI,S1
LEA DI,S2
MOV CX,50
CLD
@MAIN0:
LODSB
STOSB
LOOP @MAIN0
MOV AX,4C00H ;退出程序
INT 21H
CODES ENDS
END START