FINDS2: MOV DPL,R1 MOV DPH,R0 MOV A,R7 JZ FINDS21 INC R6 FINDS21: MOVX A,@DPTR INC DPTR CLR C SUBB A,R4 JNZ FINDS22 MOVX A,@DPTR SUBB A,R3 JNZ FINDS22 MOV A,DPL CLR C SUBB A,#01H MOV R1,A MOV A,DPH SUBB A,#00H MOV R0,A CLR A RET FINDS22: DJNZ R7,FINDS21 DJNZ R6,FINDS21 MOV A,#0FFH RET