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

CLF() private method

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