public class ImmutableInstruction22c extends ImmutableInstruction implements Instruction22c
| Modifier and Type | Field and Description |
|---|---|
static Format |
FORMAT |
protected ImmutableReference |
reference |
protected int |
registerA |
protected int |
registerB |
opcode| Constructor and Description |
|---|
ImmutableInstruction22c(Opcode opcode,
int registerA,
int registerB,
Reference reference) |
| Modifier and Type | Method and Description |
|---|---|
Format |
getFormat() |
ImmutableReference |
getReference() |
int |
getReferenceType() |
int |
getRegisterA() |
int |
getRegisterB() |
static ImmutableInstruction22c |
of(Instruction22c 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
@Nonnull protected final ImmutableReference reference
public static ImmutableInstruction22c of(Instruction22c instruction)
public int getRegisterA()
getRegisterA in interface OneRegisterInstructionpublic int getRegisterB()
getRegisterB in interface TwoRegisterInstruction@Nonnull public ImmutableReference getReference()
getReference in interface ReferenceInstructionpublic int getReferenceType()
getReferenceType in interface ReferenceInstructionpublic Format getFormat()
getFormat in class ImmutableInstruction