com.android.dx.io.instructions
Class RegisterRangeDecodedInstruction

java.lang.Object
  extended by com.android.dx.io.instructions.DecodedInstruction
      extended by com.android.dx.io.instructions.RegisterRangeDecodedInstruction

public final class RegisterRangeDecodedInstruction
extends DecodedInstruction

A decoded Dalvik instruction which has register range arguments (an "A" start register and a register count).


Constructor Summary
RegisterRangeDecodedInstruction(InstructionCodec format, int opcode, int index, IndexType indexType, int target, long literal, int a, int registerCount)
          Constructs an instance.
 
Method Summary
 int getA()
           
 int getRegisterCount()
           
 DecodedInstruction withIndex(int newIndex)
          Returns an instance just like this one, except with the index replaced with the given one.
 
Methods inherited from class com.android.dx.io.instructions.DecodedInstruction
decode, decodeAll, encode, getAByte, getANibble, getAUnit, getB, getBByte, getBNibble, getBUnit, getC, getCByte, getCNibble, getCUnit, getD, getDByte, getDNibble, getDUnit, getE, getENibble, getFormat, getIndex, getIndexType, getIndexUnit, getLiteral, getLiteralByte, getLiteralInt, getLiteralNibble, getLiteralUnit, getOpcode, getOpcodeUnit, getRegisterCountUnit, getTarget, getTarget, getTargetByte, getTargetUnit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegisterRangeDecodedInstruction

public RegisterRangeDecodedInstruction(InstructionCodec format,
                                       int opcode,
                                       int index,
                                       IndexType indexType,
                                       int target,
                                       long literal,
                                       int a,
                                       int registerCount)
Constructs an instance.

Method Detail

getRegisterCount

public int getRegisterCount()
Specified by:
getRegisterCount in class DecodedInstruction

getA

public int getA()
Overrides:
getA in class DecodedInstruction

withIndex

public DecodedInstruction withIndex(int newIndex)
Description copied from class: DecodedInstruction
Returns an instance just like this one, except with the index replaced with the given one.

Specified by:
withIndex in class DecodedInstruction


Copyright © 2013. All Rights Reserved.