djmips Posted November 15, 2005 Author Share Posted November 15, 2005 I also like his 'toggle carry' method, though I still find myself wishing the 6502 allowed a direct method to do that. Yes, that is a nice one. At a quick glance, I thought it trashed A (but it doesn't as bit seven is safely tucked away in the carry and is restored in the ror) rol ; Cb into b0 eor #$01 ; toggle bit ror ; b0 into Cb Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.