X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=plugins%2Fnet.mograsim.machine%2Fsrc%2Fnet%2Fmograsim%2Fmachine%2Fmi%2FMicroInstructionMemory.java;h=abfed4653c4d669146415a6ab983aa3e4f463908;hb=f554922e3f6ff7bf776101039f30c1e5a2106b2c;hp=6409f78d061470901b05a1c222d975a715f08936;hpb=2198fbadd2105c47ff4cd65d434616ae329802a1;p=Mograsim.git diff --git a/plugins/net.mograsim.machine/src/net/mograsim/machine/mi/MicroInstructionMemory.java b/plugins/net.mograsim.machine/src/net/mograsim/machine/mi/MicroInstructionMemory.java index 6409f78d..abfed465 100644 --- a/plugins/net.mograsim.machine/src/net/mograsim/machine/mi/MicroInstructionMemory.java +++ b/plugins/net.mograsim.machine/src/net/mograsim/machine/mi/MicroInstructionMemory.java @@ -6,4 +6,15 @@ public interface MicroInstructionMemory extends Memory { @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); + } }