Added active instruction preview to LogicUIPart
[Mograsim.git] / plugins / net.mograsim.machine / src / net / mograsim / machine / mi / MicroInstructionMemory.java
index 6409f78..abfed46 100644 (file)
@@ -6,4 +6,15 @@ public interface MicroInstructionMemory extends Memory<MicroInstruction>
 {
        @Override
        public MicroInstructionMemoryDefinition getDefinition();
+
+       public void registerActiveMicroInstructionChangedListener(ActiveMicroInstructionChangedListener ob);
+
+       public void deregisterActiveMicroInstructionChangedListener(ActiveMicroInstructionChangedListener ob);
+
+       public void setActiveInstruction(long address);
+
+       public static interface ActiveMicroInstructionChangedListener
+       {
+               public void activeMicroInstructionChanged(long address);
+       }
 }