Worked around rendering bug (model updates not resulting in a redraw)
[Mograsim.git] / net.mograsim.machine / src / net / mograsim / machine / MicroInstruction.java
index 0846cd5..9f16320 100644 (file)
@@ -1,5 +1,14 @@
 package net.mograsim.machine;
 
-public interface MicroInstruction {
+import net.mograsim.machine.mi.parameters.MicroInstructionParameter;
+import net.mograsim.machine.mi.parameters.Mnemonic;
 
+public interface MicroInstruction {
+       
+       public MicroInstructionParameter getParameter(int index);
+       
+       /**
+        * @return The amount of {@link Mnemonic}s, the instruction is composed of
+        */
+       public int getSize();
 }