|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<RegisterConstants.GPR> org.jikesrvm.ia32.RegisterConstants.GPR
public static enum RegisterConstants.GPR
Representation of general purpose registers
Enum Constant Summary | |
---|---|
EAX
|
|
EBP
|
|
EBX
|
|
ECX
|
|
EDI
|
|
EDX
|
|
EIP
|
|
ESI
|
|
ESP
|
|
R10
|
|
R11
|
|
R12
|
|
R13
|
|
R14
|
|
R15
|
|
R8
|
|
R9
|
Field Summary | |
---|---|
private static RegisterConstants.GPR[] |
vals
Local copy of the backing array. |
Method Summary | |
---|---|
static RegisterConstants.GPR |
getForOpcode(int opcode)
Convert encoded value representing an opcode into the GPR to represent it |
static RegisterConstants.GPR |
lookup(int num)
Convert encoded value into the GPR it represents |
boolean |
needsREXprefix()
|
byte |
value()
|
byte |
valueForOpcode()
|
static RegisterConstants.GPR |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static RegisterConstants.GPR[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final RegisterConstants.GPR EAX
public static final RegisterConstants.GPR ECX
public static final RegisterConstants.GPR EDX
public static final RegisterConstants.GPR EBX
public static final RegisterConstants.GPR ESP
public static final RegisterConstants.GPR EBP
public static final RegisterConstants.GPR ESI
public static final RegisterConstants.GPR EDI
public static final RegisterConstants.GPR R8
public static final RegisterConstants.GPR R9
public static final RegisterConstants.GPR R10
public static final RegisterConstants.GPR R11
public static final RegisterConstants.GPR R12
public static final RegisterConstants.GPR R13
public static final RegisterConstants.GPR R14
public static final RegisterConstants.GPR R15
public static final RegisterConstants.GPR EIP
Field Detail |
---|
private static final RegisterConstants.GPR[] vals
Method Detail |
---|
public static RegisterConstants.GPR[] values()
for (RegisterConstants.GPR c : RegisterConstants.GPR.values()) System.out.println(c);
public static RegisterConstants.GPR valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic byte value()
value
in interface RegisterConstants.MachineRegister
public byte valueForOpcode()
public boolean needsREXprefix()
needsREXprefix
in interface RegisterConstants.MachineRegister
public static RegisterConstants.GPR lookup(int num)
num
- encoded value
public static RegisterConstants.GPR getForOpcode(int opcode)
opcode
- encoded value
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |