Class Label


  • public final class Label
    extends java.lang.Object
    The Label class labels some memory location with the provided identifier.

    This is required to provide an external access to this location using an architecture-independent identifier. For example, a register storing program counter value is marked as PC to allow the external engines that have no knowledge about the architecture to access it.

    • Constructor Summary

      Constructors 
      Constructor Description
      Label​(java.lang.String name, Memory memory)  
      Label​(java.lang.String name, Memory memory, int index)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Location access()  
      java.lang.String getName()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Label

        public Label​(java.lang.String name,
                     Memory memory)
      • Label

        public Label​(java.lang.String name,
                     Memory memory,
                     int index)
    • Method Detail

      • getName

        public java.lang.String getName()