Enum Class ArchLevel

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

public enum ArchLevel extends Enum<ArchLevel>
enum ArchLevel defines all architecture levels supported by z390 This includes all IBM-defined architecture levels, with the addition of two z390-specific architecture levels. ASSIST opcodes are supported as well, but there is no specific architecture level defined for ASSIST. When the ASSIST option is enabled, the ASSIST mnemonics are added to the opcode table in effect.
  • Enum Constant Details

    • ARCH_360_20

      public static final ArchLevel ARCH_360_20
      360-20
    • ARCH_DOS

      public static final ArchLevel ARCH_DOS
      DOS
    • ARCH_370

      public static final ArchLevel ARCH_370
      370
    • ARCH_XA

      public static final ArchLevel ARCH_XA
      370-XA
    • ARCH_ESA

      public static final ArchLevel ARCH_ESA
      370-ESA
    • ARCH_ZOP

      public static final ArchLevel ARCH_ZOP
      ZOP
    • ARCH_YOP

      public static final ArchLevel ARCH_YOP
      YOP
    • ARCH_Z9

      public static final ArchLevel ARCH_Z9
      z9
    • ARCH_Z10

      public static final ArchLevel ARCH_Z10
      z10
    • ARCH_Z11

      public static final ArchLevel ARCH_Z11
      z11
    • ARCH_Z12

      public static final ArchLevel ARCH_Z12
      z12
    • ARCH_Z13

      public static final ArchLevel ARCH_Z13
      z13
    • ARCH_Z14

      public static final ArchLevel ARCH_Z14
      z14
    • ARCH_Z15

      public static final ArchLevel ARCH_Z15
      z15
    • ARCH_Z16

      public static final ArchLevel ARCH_Z16
      z16
    • ARCH_Z17

      public static final ArchLevel ARCH_Z17
      z17
    • ARCH_UNI

      public static final ArchLevel ARCH_UNI
      UNI (360-20 thru z17 combined)
    • ARCH_Z390

      public static final ArchLevel ARCH_Z390
      z390 (UNI plus z390 additions)
    • ARCH_DFLT

      public static final ArchLevel ARCH_DFLT
      default (z390 plus ACALLPRM
  • Field Details

    • value

      private final int value
      enum value instantiation
  • Constructor Details

    • ArchLevel

      private ArchLevel(int value)
      Constructor
      Parameters:
      value - assigned sequence number for architecture level
  • Method Details

    • values

      public static ArchLevel[] 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 ArchLevel 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
    • getValue

      public int getValue()
      convert enum reference to an integer This is required to be able to check architecture ranges Most instructions are valid from a starting architecture level Some are defined from/to certain levels.
      Returns:
      assigned sequence number of architecture level