Exemple #1
0
 public InstructionSetInfo(string architecture, InstructionSetInfo similarInstructionSet)
 {
     Architecture    = architecture;
     ManagedName     = similarInstructionSet.ManagedName;
     R2rName         = similarInstructionSet.R2rName;
     R2rNumericValue = similarInstructionSet.R2rNumericValue;
     JitName         = similarInstructionSet.JitName;
 }
Exemple #2
0
        public static InstructionSetInfo Load()
        {
            var path = Path.Combine(Directory.GetCurrentDirectory(), @"..\..\..\Jacobi.CpuZ80.Meta\InstructionsZ80.json");

            return(InstructionSetInfo.FromJsonFile(path));
        }
Exemple #3
0
 public static void Initialize(TestContext testContext)
 {
     _instructionSetInfo = InstructionSetHelper.Load();
 }