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