public class ImmutableInstruction22b extends ImmutableInstruction implements Instruction22b
| Modifier and Type | Field and Description |
|---|---|
static Format |
FORMAT |
protected int |
literal |
protected int |
registerA |
protected int |
registerB |
opcode| Constructor and Description |
|---|
ImmutableInstruction22b(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 ImmutableInstruction22b |
of(Instruction22b 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 ImmutableInstruction22b(@Nonnull
Opcode opcode,
int registerA,
int registerB,
int literal)
public static ImmutableInstruction22b of(Instruction22b 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