SEP (Set bits in P register) (only processor 65816) Tags: none

Description:

Sets bits in the P register. Takes an Immediate value. That value is OR'ed with the P regsiter and P register is updated.

Example:

        SEP #$20; Set 8 bit accumulator