View Single Post
Old 06 November 2021, 11:31   #22
meynaf
son of 68k
 
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
Quote:
Originally Posted by a/b View Post
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.
meynaf is online now  
 
Page generated in 0.07267 seconds with 11 queries