public class ImmutableInstruction11n extends ImmutableInstruction implements Instruction11n
| Modifier and Type | Field and Description |
|---|---|
static Format |
FORMAT |
protected int |
literal |
protected int |
registerA |
opcode| Constructor and Description |
|---|
ImmutableInstruction11n(Opcode opcode,
int registerA,
int literal) |
| Modifier and Type | Method and Description |
|---|---|
Format |
getFormat() |
int |
getNarrowLiteral() |
int |
getRegisterA() |
long |
getWideLiteral() |
static ImmutableInstruction11n |
of(Instruction11n instruction) |
getCodeUnits, getOpcode, immutableListOf, ofclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCodeUnits, getOpcodepublic static final Format FORMAT
protected final int registerA
protected final int literal
public ImmutableInstruction11n(@Nonnull
Opcode opcode,
int registerA,
int literal)
public static ImmutableInstruction11n of(Instruction11n instruction)
public int getRegisterA()
getRegisterA in interface OneRegisterInstructionpublic int getNarrowLiteral()
getNarrowLiteral in interface NarrowLiteralInstructionpublic long getWideLiteral()
getWideLiteral in interface WideLiteralInstructionpublic Format getFormat()
getFormat in class ImmutableInstruction