TUP.AsmResolver.ASM.x86Disassembler.ProcessRegisterOperands C# (CSharp) Méthode

ProcessRegisterOperands() private méthode

private ProcessRegisterOperands ( x86Instruction instruction ) : void
instruction x86Instruction
Résultat void
        internal void ProcessRegisterOperands(x86Instruction instruction)
        {
            switch (instruction.OpCode.GetRegisterOperandType())
            {
                case x86OperandType.Multiple32Register:
                case x86OperandType.Multiple32Or8Register:
                case x86OperandType.Multiple16Register:
                case x86OperandType.RegisterLeaRegister:
                    DecodeDoubleRegisters(ref instruction, instruction.code._opcodeBytes[instruction.code._opcodeBytes.Length - 1]);
                    break;
                case x86OperandType.Register8:
                case x86OperandType.Register32:
                case x86OperandType.Register32Or8:
                    DecodeSingleRegister(ref instruction, instruction.code._opcodeBytes[instruction.code._opcodeBytes.Length - 1]);
                    break;
            }
        }