View Single Post
Old 21 February 2020, 15:00   #173
Pixelfill
Registered User

 
Join Date: Dec 2019
Location: Preston
Posts: 28
Quote:
Originally Posted by hooverphonique View Post
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?
I may be wide of the mark here, but I'm guessing adding bytes -128 to -128 results in -256, therefore an overflow beyond a byte (carry) and also results in d0.b set to 00?
the key part I believe is not the add.b. but the fact that d0 contains $xxxxxx80 beforehand from the moveq

forgive me if I'm wrong as I'm just starting out.

Mike
Pixelfill is offline  
 
Page generated in 0.04197 seconds with 11 queries