Is there any way on the 6502 that you can check if all bits in the accumulator are set to 1 in a specific order in just one operation?
I thought AND would do the trick but I can only check if ANY of the bits are set that way.
This branches with AND:
Code: Select all
lda #%1000
and #%1100
bne :+
Cheers!