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