Yup, another bit question, lol!
I'd like to know, how do I look at a register, check each individual bit, and if each bit I come across is not equal, I want to simply inc a random register.
Like.
LDA $C0
(perform bit compare)
(if not equal, branch to INC $C1
(loop back to compare)
That's my assumption, I'm just kind of in the dark on how to loop back. Do I set either y/x with 07, and Dec to 00 then end my routine? Thanks for reading!
I'd like to know, how do I look at a register, check each individual bit, and if each bit I come across is not equal, I want to simply inc a random register.
Like.
LDA $C0
(perform bit compare)
(if not equal, branch to INC $C1
(loop back to compare)
That's my assumption, I'm just kind of in the dark on how to loop back. Do I set either y/x with 07, and Dec to 00 then end my routine? Thanks for reading!