1 package net.mograsim.machine.mi;
3 import net.mograsim.machine.mi.parameters.MicroInstructionParameter;
5 class StandardMicroInstruction implements MicroInstruction
7 private MicroInstructionParameter[] parameters;
9 StandardMicroInstruction(MicroInstructionParameter... parameters)
11 this.parameters = parameters.clone();
15 * @throws IndexOutOfBoundsException
18 public MicroInstructionParameter getParameter(int index)
20 return parameters[index];
26 return parameters.length;
30 public MicroInstructionParameter[] getParameters()
32 return parameters.clone();