Interface SimulationCode


public interface SimulationCode
Interface to represent the method for simulating the execution of a specific MIPS basic instruction. It will be implemented by the anonymous class created in the last argument to the BasicInstruction constructor.
Version:
August 2003
Author:
Pete Sanderson
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    simulate​(ProgramStatement statement)
    Method to simulate the execution of a specific MIPS basic instruction.
  • Method Details

    • simulate

      void simulate(ProgramStatement statement) throws ProcessingException
      Method to simulate the execution of a specific MIPS basic instruction.
      Parameters:
      statement - A ProgramStatement representing the MIPS instruction to simulate.
      Throws:
      ProcessingException - This is a run-time exception generated during simulation.