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

BitPatternIMM() private method

private BitPatternIMM ( ushort operand, ushort &value, RegGeneral &destination ) : void
operand ushort
value ushort
destination RegGeneral
return void
        private void BitPatternIMM(ushort operand, out ushort value, out RegGeneral destination)
        {
            destination = (RegGeneral)((operand & 0xE000) >> 13);
            value = (ushort)(((operand & 0x1F00) >> 8) + 1);
        }