Re: Quickest way to get highest set bit on port in to a variable?

Originally Posted by
towlerg
Henric, never the less, not as quick as 8 rotates and 8 jump on carry in-line. Worst case, with no bits set in the target thats only 16 cycles.
rscor01, I didn't realize LOOKUP would do that. How would that go?
George
lookdown2 index, >= [%00000000,%00000001,%00000010],temp
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
Bookmarks