Ypsilon.Emulation.Processor.YCPU.SEF C# (CSharp) Method

SEF() private method

private SEF ( ushort operand ) : void
operand ushort
return void
        private void SEF(ushort operand)
        {
            ushort value;
            RegGeneral destination;
            BitPatternFLG(operand, out value, out destination);
            if ((operand & 0x8000) != 0)
                FL_N = true;
            if ((operand & 0x4000) != 0)
                FL_Z = true;
            if ((operand & 0x2000) != 0)
                FL_C = true;
            if ((operand & 0x1000) != 0)
                FL_V = true;
        }