1 package net.mograsim.machine;
3 public interface MicroprogramMemory {
6 * @param address The address of the desired instruction. Must be non-negative
7 * @return The instruction at the requested address
9 * @throws IndexOutOfBoundsException
11 public MicroInstruction getInstruction(long address);
14 * Sets the instruction at the supplied address
18 * @throws IndexOutOfBoundsException
20 public void setInstruction(long address, MicroInstruction instruction);