Quote:
Originally Posted by a/b
Uhhh, no. It's not a dbF/dbRA loop, it's dbCS. It will break out of the loop when you push the first (lowest) 1 out of the register.
|
You will break out of the loop after 29 iterations, then have to execute it 3 more times as i loop over all '1'. So yes you'll do 32 iterations in total, dbcs or not.
Now your dbcs does not update the counter when it exits, requiring an extra instruction to fix this before looping back.