ASSUME CS:CODE, DS:DATA, ES:data
DATA SEGMeNT
ORG 8000H
STRING1 DB 'balarama krishna'
string2 db 'rachumallu'
data ends
CODE SEGMeNT
START: MOV AX, DATA
MOV DS, AX
MOV ES, AX
lea SI, string1
lea DI, string2
MOV CX, 10
add si, 8d
CLD
REP MOVSB
mov ah, 4ch
int 21h
CODE ENDS
END START
1.
2.
DATA SEGMeNT
ORG 8000H
STRING1 DB 'balarama krishna'
string2 db 'rachumallu'
data ends
CODE SEGMeNT
START: MOV AX, DATA
MOV DS, AX
MOV ES, AX
lea SI, string1
lea DI, string2
MOV CX, 10
add si, 8d
CLD
REP MOVSB
mov ah, 4ch
int 21h
CODE ENDS
END START
1.
2.
No comments:
Post a Comment