Package com.android.dx.io.instructions
Class TwoRegisterDecodedInstruction
java.lang.Object
com.android.dx.io.instructions.DecodedInstruction
com.android.dx.io.instructions.TwoRegisterDecodedInstruction
A decoded Dalvik instruction which has two register arguments.
-
Constructor Summary
ConstructorDescriptionTwoRegisterDecodedInstruction
(InstructionCodec format, int opcode, int index, IndexType indexType, int target, long literal, int a, int b) Constructs an instance. -
Method Summary
Methods inherited from class com.android.dx.io.instructions.DecodedInstruction
decode, decodeAll, encode, getAByte, getANibble, getAUnit, getBByte, getBNibble, getBUnit, getC, getCByte, getCNibble, getCUnit, getD, getDByte, getDNibble, getDUnit, getE, getENibble, getFormat, getIndex, getIndexType, getIndexUnit, getLiteral, getLiteralByte, getLiteralInt, getLiteralNibble, getLiteralUnit, getOpcode, getOpcodeUnit, getProtoIndex, getRegisterCountUnit, getTarget, getTarget, getTargetByte, getTargetUnit, withProtoIndex
-
Constructor Details
-
TwoRegisterDecodedInstruction
public TwoRegisterDecodedInstruction(InstructionCodec format, int opcode, int index, IndexType indexType, int target, long literal, int a, int b) Constructs an instance.
-
-
Method Details
-
getRegisterCount
public int getRegisterCount()- Specified by:
getRegisterCount
in classDecodedInstruction
-
getA
public int getA()- Overrides:
getA
in classDecodedInstruction
-
getB
public int getB()- Overrides:
getB
in classDecodedInstruction
-
withIndex
Returns an instance just like this one, except with the index replaced with the given one.- Specified by:
withIndex
in classDecodedInstruction
-