public static enum RegisterConstants.MM extends Enum<RegisterConstants.MM> implements RegisterConstants.IntelMachineRegister
Enum Constant and Description |
---|
MM0 |
MM1 |
MM10 |
MM11 |
MM12 |
MM13 |
MM14 |
MM15 |
MM2 |
MM3 |
MM4 |
MM5 |
MM6 |
MM7 |
MM8 |
MM9 |
Modifier and Type | Field and Description |
---|---|
private static RegisterConstants.MM[] |
vals
Local copy of the backing array.
|
Modifier and Type | Method and Description |
---|---|
static RegisterConstants.MM |
lookup(int num)
Convert encoded value into the MM it represents
|
boolean |
needsREXprefix() |
byte |
value() |
static RegisterConstants.MM |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RegisterConstants.MM[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RegisterConstants.MM MM0
public static final RegisterConstants.MM MM1
public static final RegisterConstants.MM MM2
public static final RegisterConstants.MM MM3
public static final RegisterConstants.MM MM4
public static final RegisterConstants.MM MM5
public static final RegisterConstants.MM MM6
public static final RegisterConstants.MM MM7
public static final RegisterConstants.MM MM8
public static final RegisterConstants.MM MM9
public static final RegisterConstants.MM MM10
public static final RegisterConstants.MM MM11
public static final RegisterConstants.MM MM12
public static final RegisterConstants.MM MM13
public static final RegisterConstants.MM MM14
public static final RegisterConstants.MM MM15
private static final RegisterConstants.MM[] vals
public static RegisterConstants.MM[] values()
for (RegisterConstants.MM c : RegisterConstants.MM.values()) System.out.println(c);
public static RegisterConstants.MM valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic byte value()
value
in interface MachineRegister
value
in interface RegisterConstants.IntelMachineRegister
public boolean needsREXprefix()
needsREXprefix
in interface RegisterConstants.IntelMachineRegister
public static RegisterConstants.MM lookup(int num)
num
- encoded value