Very much appreciated guys. That worked perfectly.
Darrel's code wins though.Indeed, about 16uS. Sayzer's loop took about 112uS. An improvement but still not quite fast enough.
If there was ever any question about the efficiency of assembly or the lack of efficiency of PBP, I guess we see it right here. lol.
Anyway, that totally solves my problem - thank you both very much!
Bookmarks