Class RegisterTransitionFieldLocation

  • All Implemented Interfaces:
    java.lang.Comparable<ProgramLocation>

    public class RegisterTransitionFieldLocation
    extends ProgramLocation
    ProgramLocation for the Register Field.
    • Constructor Detail

      • RegisterTransitionFieldLocation

        public RegisterTransitionFieldLocation​(Program program,
                                               Address addr,
                                               java.lang.String[] registerNames,
                                               int row,
                                               int column)
      • RegisterTransitionFieldLocation

        public RegisterTransitionFieldLocation()
        Default constructor
    • Method Detail

      • getRegister

        public Register getRegister()
      • restoreState

        public void restoreState​(Program p,
                                 SaveState obj)
        Description copied from class: ProgramLocation
        Restore this program location using the given program and save state object.
        Overrides:
        restoreState in class ProgramLocation
        Parameters:
        p - program to restore from
        obj - the save state to restore from
      • saveState

        public void saveState​(SaveState obj)
        Description copied from class: ProgramLocation
        Save this program location to the given save state object.
        Overrides:
        saveState in class ProgramLocation
        Parameters:
        obj - the save state object for saving the location