Enum Class ArchLevel
- All Implemented Interfaces:
Serializable,Comparable<ArchLevel>,Constable
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription360-20370default (z390 plus ACALLPRMDOS370-ESAUNI (360-20 thru z17 combined)370-XAYOPz10z11z12z13z14z15z16z17z390 (UNI plus z390 additions)z9ZOP -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetValue()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.static ArchLevelReturns the enum constant of this class with the specified name.static ArchLevel[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ARCH_360_20
360-20 -
ARCH_DOS
DOS -
ARCH_370
370 -
ARCH_XA
370-XA -
ARCH_ESA
370-ESA -
ARCH_ZOP
ZOP -
ARCH_YOP
YOP -
ARCH_Z9
z9 -
ARCH_Z10
z10 -
ARCH_Z11
z11 -
ARCH_Z12
z12 -
ARCH_Z13
z13 -
ARCH_Z14
z14 -
ARCH_Z15
z15 -
ARCH_Z16
z16 -
ARCH_Z17
z17 -
ARCH_UNI
UNI (360-20 thru z17 combined) -
ARCH_Z390
z390 (UNI plus z390 additions) -
ARCH_DFLT
default (z390 plus ACALLPRM
-
-
Field Details
-
value
private final int valueenum value instantiation
-
-
Constructor Details
-
ArchLevel
private ArchLevel(int value) Constructor- Parameters:
value- assigned sequence number for architecture level
-
-
Method Details
-
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
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 nameNullPointerException- 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
-