CSPspEmu.Core.Cpu.Dynarec.DynarecFunctionCompiler.InternalFunctionCompiler._GetAstCpuInstructionAT C# (CSharp) Method

_GetAstCpuInstructionAT() private method

private _GetAstCpuInstructionAT ( uint PC ) : AstNodeStmPspInstruction
PC uint
return CSPspEmu.Core.Cpu.Dynarec.Ast.AstNodeStmPspInstruction
            private AstNodeStmPspInstruction _GetAstCpuInstructionAT(uint PC)
            {
                // Skip emit instruction.
                if (SkipPC.Contains(PC)) return null;

                /*
                if (CpuProcessor.CpuConfig.TraceJIT)
                {
                    SafeILGenerator.LoadArgument<CpuThreadState>(0);
                    SafeILGenerator.Push((int)_PC);
                    SafeILGenerator.Call((Action<uint>)CpuThreadState.Methods.Trace);
                    Console.WriteLine("     PC=0x{0:X}", _PC);
                }
                */

                var Instruction = CpuEmitter.LoadAT(PC);
                var DisassembleInstruction = MipsDisassembler.Disassemble(PC, Instruction);
                var Call = CpuEmitterInstruction(Instruction, CpuEmitter);
                var AstNodeStm = ProcessGeneratedInstruction(DisassembleInstruction, Call);
                return new AstNodeStmPspInstruction(DisassembleInstruction, AstNodeStm);
            }