public class ImmutableInstruction22t extends ImmutableInstruction implements Instruction22t
| Modifier and Type | Field and Description |
|---|---|
protected int |
codeOffset |
static Format |
FORMAT |
protected int |
registerA |
protected int |
registerB |
opcode| Constructor and Description |
|---|
ImmutableInstruction22t(Opcode opcode,
int registerA,
int registerB,
int codeOffset) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCodeOffset() |
Format |
getFormat() |
int |
getRegisterA() |
int |
getRegisterB() |
static ImmutableInstruction22t |
of(Instruction22t 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 codeOffset
public ImmutableInstruction22t(@Nonnull
Opcode opcode,
int registerA,
int registerB,
int codeOffset)
public static ImmutableInstruction22t of(Instruction22t instruction)
public int getRegisterA()
getRegisterA in interface OneRegisterInstructionpublic int getRegisterB()
getRegisterB in interface TwoRegisterInstructionpublic int getCodeOffset()
getCodeOffset in interface OffsetInstructionpublic Format getFormat()
getFormat in class ImmutableInstruction