Class ProgramSimulator


  • public class ProgramSimulator
    extends java.lang.Object
    • Constructor Detail

      • ProgramSimulator

        public ProgramSimulator​(ProgramImage programImage)
    • Method Detail

      • hasNext

        public boolean hasNext()
      • nextInstructionText

        public java.lang.String nextInstructionText()
      • nextStep

        public void nextStep()
        Executes the ConcreteCall and if it was the last program instruction changes the state terminateProgram to true.
      • getRegisterValue

        public long getRegisterValue​(Item registerMode,
                                     int number)
      • simulate

        public boolean simulate()
      • getCurrentPc

        public long getCurrentPc()