GNIDA.mediana.convert_prefixes C# (CSharp) Method

convert_prefixes() static private method

static private convert_prefixes ( INSTRUCTION instr, byte prefixes ) : void
instr INSTRUCTION
prefixes byte
return void
        static void convert_prefixes(INSTRUCTION instr, byte[] prefixes)
        {
            for (int i = 0; i < PREFIX_COUNT; i++)
            {
            if (prefixes[i] != 0xFF)
            instr.prefixes |= pref_bits[prefixes[i]];
            }
        }