FileDocCategorySizeDatePackage
TwoRegisterDecodedInstruction.javaAPI DocAndroid 5.1 API1789Thu Mar 12 22:18:30 GMT 2015com.android.dx.io.instructions

TwoRegisterDecodedInstruction

public final class TwoRegisterDecodedInstruction extends DecodedInstruction
A decoded Dalvik instruction which has two register arguments.

Fields Summary
private final int
a
register argument "A"
private final int
b
register argument "B"
Constructors Summary
public TwoRegisterDecodedInstruction(InstructionCodec format, int opcode, int index, com.android.dx.io.IndexType indexType, int target, long literal, int a, int b)
Constructs an instance.

        super(format, opcode, index, indexType, target, literal);

        this.a = a;
        this.b = b;
    
Methods Summary
public intgetA()

inheritDoc

        return a;
    
public intgetB()

inheritDoc

        return b;
    
public intgetRegisterCount()

inheritDoc

        return 2;
    
public DecodedInstructionwithIndex(int newIndex)

inheritDoc

        return new TwoRegisterDecodedInstruction(
                getFormat(), getOpcode(), newIndex, getIndexType(),
                getTarget(), getLiteral(), a, b);