DEY + BPL (offset matches) + JSR (address does not match) Small part of the loop by .Y register - trivial and not creative, not copyrightable.