Package jnr.x86asm

Enum Class SEGMENT

All Implemented Interfaces:
Serializable, Comparable<SEGMENT>, Constable

public enum SEGMENT extends Enum<SEGMENT>
Segment override prefixes.
  • Enum Constant Details

    • SEGMENT_NONE

      public static final SEGMENT SEGMENT_NONE
    • SEGMENT_CS

      public static final SEGMENT SEGMENT_CS
    • SEGMENT_SS

      public static final SEGMENT SEGMENT_SS
    • SEGMENT_DS

      public static final SEGMENT SEGMENT_DS
    • SEGMENT_ES

      public static final SEGMENT SEGMENT_ES
    • SEGMENT_FS

      public static final SEGMENT SEGMENT_FS
    • SEGMENT_GS

      public static final SEGMENT SEGMENT_GS
  • Field Details

    • prefix

      private final int prefix
  • Constructor Details

    • SEGMENT

      private SEGMENT(int prefix)
  • Method Details

    • values

      public static SEGMENT[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SEGMENT valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • prefix

      public final int prefix()