I disassmbled a file with OllyDbg and it had the following instruction

    REPNE SCAS BYTE PTR ES:[EDI]

What does that exactly do?