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=5d4fac6b0c1ca5641419d2f1562d1e9141cc1b99;hpb=7d05144c25daa53e60fc9ed9fd503546a86567f8;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 5d4fac6b..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 @@ -4,5 +4,17 @@ import net.mograsim.machine.Memory; 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); + } }