public InstructionSetInfo(string architecture, InstructionSetInfo similarInstructionSet) { Architecture = architecture; ManagedName = similarInstructionSet.ManagedName; R2rName = similarInstructionSet.R2rName; R2rNumericValue = similarInstructionSet.R2rNumericValue; JitName = similarInstructionSet.JitName; }
public static InstructionSetInfo Load() { var path = Path.Combine(Directory.GetCurrentDirectory(), @"..\..\..\Jacobi.CpuZ80.Meta\InstructionsZ80.json"); return(InstructionSetInfo.FromJsonFile(path)); }
public static void Initialize(TestContext testContext) { _instructionSetInfo = InstructionSetHelper.Load(); }