public class ImmutableInstruction21s extends ImmutableInstruction implements Instruction21s
| Modifier and Type | Field and Description |
|---|---|
static Format |
FORMAT |
protected int |
literal |
protected int |
registerA |
opcode| Constructor and Description |
|---|
ImmutableInstruction21s(Opcode opcode,
int registerA,
int literal) |
| Modifier and Type | Method and Description |
|---|---|
Format |
getFormat() |
int |
getNarrowLiteral() |
int |
getRegisterA() |
long |
getWideLiteral() |
static ImmutableInstruction21s |
of(Instruction21s 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 ImmutableInstruction21s(@Nonnull
Opcode opcode,
int registerA,
int literal)
public static ImmutableInstruction21s of(Instruction21s 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