GNIDA.CmmDisassembler.ProcessRegisterOperands C# (CSharp) Méthode

ProcessRegisterOperands() private méthode

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