AND #$10 + BEQ (offset matches) Check whether the bit of the data in accumulator is set or not. Trivial and not creative - not copyrightable.