public class ImmutableInstruction21ih extends ImmutableInstruction implements Instruction21ih
| Modifier and Type | Field and Description |
|---|---|
static Format |
FORMAT |
protected int |
literal |
protected int |
registerA |
opcode| Constructor and Description |
|---|
ImmutableInstruction21ih(Opcode opcode,
int registerA,
int literal) |
| Modifier and Type | Method and Description |
|---|---|
Format |
getFormat() |
short |
getHatLiteral() |
int |
getNarrowLiteral() |
int |
getRegisterA() |
long |
getWideLiteral() |
static ImmutableInstruction21ih |
of(Instruction21ih 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 ImmutableInstruction21ih(@Nonnull
Opcode opcode,
int registerA,
int literal)
public static ImmutableInstruction21ih of(Instruction21ih instruction)
public int getRegisterA()
getRegisterA in interface OneRegisterInstructionpublic int getNarrowLiteral()
getNarrowLiteral in interface NarrowLiteralInstructionpublic long getWideLiteral()
getWideLiteral in interface WideLiteralInstructionpublic short getHatLiteral()
getHatLiteral in interface HatLiteralInstructionpublic Format getFormat()
getFormat in class ImmutableInstruction