X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=net.mograsim.machine%2Fsrc%2Fnet%2Fmograsim%2Fmachine%2FMicroprogramMemory.java;h=333f8a6479399897444c46e4ec7468fd89945448;hb=4c9a2240352c246c76a056687a2d68208137b667;hp=29bfcb9ee54dc9d8b114d46c6d9bb7d9c923287b;hpb=071e64ab6f5eeb1110d505ac1f4e5f0b06f69f6b;p=Mograsim.git diff --git a/net.mograsim.machine/src/net/mograsim/machine/MicroprogramMemory.java b/net.mograsim.machine/src/net/mograsim/machine/MicroprogramMemory.java index 29bfcb9e..333f8a64 100644 --- a/net.mograsim.machine/src/net/mograsim/machine/MicroprogramMemory.java +++ b/net.mograsim.machine/src/net/mograsim/machine/MicroprogramMemory.java @@ -1,21 +1,5 @@ package net.mograsim.machine; -public interface MicroprogramMemory { - - /** - * @param address The address of the desired instruction. Must be non-negative - * @return The instruction at the requested address - * - * @throws IndexOutOfBoundsException - */ - public MicroInstruction getInstruction(long address); - - /** - * Sets the instruction at the supplied address - * @param address - * @param instruction - * - * @throws IndexOutOfBoundsException - */ - public void setInstruction(long address, MicroInstruction instruction); +public interface MicroprogramMemory extends Memory +{ }