Copy word at DS:[SI] to ES:[DI]. Update SI and DI.Algorithm:
Copy word at DS:[SI] to ES:[DI]. Update SI and DI.
Algorithm:
MOVSW
ORG 100h CLD LEA SI, a1 LEA DI, a2 MOV CX, 5 REP MOVSW RET a1 DW 1,2,3,4,5 a2 DW 5 DUP(0)