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