X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=plugins%2Fnet.mograsim.machine%2Fsrc%2Fnet%2Fmograsim%2Fmachine%2FMachine.java;h=8325068d09ce17fb7a43ee37d00f7ef89c2dc771;hb=0c97f70d199e1ffcd2bc13817f7bb12867ba033e;hp=df99984a61ef6110f9739300dbc06d2f0101f2dd;hpb=59e4f0d9447e3c764c83e7edabfcbf5c3c24a97b;p=Mograsim.git diff --git a/plugins/net.mograsim.machine/src/net/mograsim/machine/Machine.java b/plugins/net.mograsim.machine/src/net/mograsim/machine/Machine.java index df99984a..8325068d 100644 --- a/plugins/net.mograsim.machine/src/net/mograsim/machine/Machine.java +++ b/plugins/net.mograsim.machine/src/net/mograsim/machine/Machine.java @@ -26,4 +26,15 @@ public interface Machine AssignableMainMemory getMainMemory(); AssignableMicroInstructionMemory getMicroInstructionMemory(); + + void addActiveMicroInstructionChangedListener(ActiveMicroInstructionChangedListener listener); + + void removeActiveMicroInstructionChangedListener(ActiveMicroInstructionChangedListener listener); + + long getActiveMicroInstructionAddress(); + + public interface ActiveMicroInstructionChangedListener + { + public void instructionChanged(long oldAddress, long newAddress); + } } \ No newline at end of file