On Mon, 16 Jan 2012 06:49:54 -0600, Dan Skomsky, PSTI wrote:

>One Assembler trick I have seen in speeding up scanning loops was to use a
>CLI instruction to check the first byte of a string and then only doing the
>CLC/CLCL if the CLI matches.  This trick even works if doing a binary
>search.

I don't know if the cost of EX is high enough that you would benefit
from doing a one byte CLC before an EX of a CLC.  I don't see how a CLI
will help you though.

--
Tom Marchant

Reply via email to