REP (Reset bits in P register) (only processor 65816) Tags: none
REP
Description:
Resets bits in the P register. Takes an Immediate value. That value is EOR'ed with the P regsiter and P register is updated.
Example:
REP #$20; Set 16 bit accumulator