RosettaCodeData/Task/Logical-operations/6502-Assembly/logical-operations-6.6502
2023-07-01 13:44:08 -04:00

9 lines
222 B
Text

LDA flags
LSR ;test the rightmost bit.
BCC .skip
LSR ;test the bit just to the left of the one we tested prior.
BCC .skip
;your code for what happens when both of the bottom 2 bits are 1, goes here.
.skip: