Quote:
Originally Posted by Antiriad_UK
Code:
moveq #0,d0 ;reset flag once
.loop:
...
;If something occured, flag it
moveq #-128,d0 ;set flag = $80 ($fffffff80)
...
;Do we need to loop again? Also reset flag
add.b d0,d0
bcs.s .loop
|
I stared at this for a while without seeing how it would reset the flag (carry), but I suppose you meant "reset" in the sense of returning d0 to zero?