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