Added active instruction preview to LogicUIPart
[Mograsim.git] / plugins / net.mograsim.machine / src / net / mograsim / machine / mi / MicroInstructionMemory.java
1 package net.mograsim.machine.mi;
2
3 import net.mograsim.machine.Memory;
4
5 public interface MicroInstructionMemory extends Memory<MicroInstruction>
6 {
7         @Override
8         public MicroInstructionMemoryDefinition getDefinition();
9
10         public void registerActiveMicroInstructionChangedListener(ActiveMicroInstructionChangedListener ob);
11
12         public void deregisterActiveMicroInstructionChangedListener(ActiveMicroInstructionChangedListener ob);
13
14         public void setActiveInstruction(long address);
15
16         public static interface ActiveMicroInstructionChangedListener
17         {
18                 public void activeMicroInstructionChanged(long address);
19         }
20 }