DATAS SEGMENT
STRING1 DB 'HELLOWORLD'
STRING2 DB 'HELLOWORLD'
STRING3 DB 'MATCH','$'
STRING4 DB 'NOT MATCH','$'
DATAS ENDS
CODES SEGMENT
ASSUME CS:CODES,DS:DATAS
START:
MOV AX,DATAS
MOV DS,AX
LEA SI,STRING1
LEA DI,STRING2
MOV CX,2
CLD
REPE CMPSB
JZ MMM
LEA DX,STRING4
MOV AH,09H
INT 21H
JMP STOP
MMM:
LEA DX,STRING3
MOV AH,09H
INT 21H
STOP:
MOV AH,4CH
INT 21H
CODES ENDS
END START
代码如上,运行结果是NOT MATCH
STRING1和STRING2比较后零标志位怎么始终为非零
请高手指点,谢谢