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