Cleaned up memory stuff
[Mograsim.git] / plugins / net.mograsim.logic.model.am2900 / src / net / mograsim / logic / model / am2900 / machine / Am2900MicroInstructionDefinition.java
index 3657bed..1a7b8f6 100644 (file)
@@ -14,6 +14,8 @@ import net.mograsim.machine.mi.parameters.ParameterClassification;
 
 public class Am2900MicroInstructionDefinition implements MicroInstructionDefinition
 {
+       public static final Am2900MicroInstructionDefinition instance = new Am2900MicroInstructionDefinition();
+
        private static final BooleanClassification interruptEnable = new BooleanClassification(false, "IE", "Dis");
        // not implemented, because not documented.
        private static final MnemonicFamily interruptInstructions = new MnemonicFamily("X", new MnemonicPair("X", BitVector.of(Bit.ZERO, 4)));
@@ -109,4 +111,8 @@ public class Am2900MicroInstructionDefinition implements MicroInstructionDefinit
                System.out.print(Arrays.stream(s.split(", new")).reduce((a, b) -> b + ", new" + a));
 //             System.out.println(Arrays.stream(paramDesc).reduce("", (a, b) -> String.format("\"%s\", %s", b, a)));
        }
+
+       private Am2900MicroInstructionDefinition()
+       {
+       }
 }