COMPARE THE STRING

 

Program

        MOV   SI,2000H
MOV   DI,3000H
MOV   CX,0004H
CLD
REPE
CMPSB
MOV   [4000],CX
INT     03H

Comments