public static enum SPARCAssembler.Ops extends Enum<SPARCAssembler.Ops>
Modifier and Type | Field and Description |
---|---|
private int |
value |
Modifier and Type | Method and Description |
---|---|
boolean |
appliesTo(int instructionWord) |
int |
getValue() |
static SPARCAssembler.Ops |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SPARCAssembler.Ops[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SPARCAssembler.Ops BranchOp
public static final SPARCAssembler.Ops CallOp
public static final SPARCAssembler.Ops ArithOp
public static final SPARCAssembler.Ops LdstOp
private final int value
public static SPARCAssembler.Ops[] values()
for (SPARCAssembler.Ops c : SPARCAssembler.Ops.values()) System.out.println(c);
public static SPARCAssembler.Ops 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 int getValue()
public boolean appliesTo(int instructionWord)