Language

IOpcodes Interface

Definition

A list of all normal (not implementation-specific) Dalvik opcodes.

public interface IOpcodes
type IOpcodes = interface

Remarks

A list of all normal (not implementation-specific) Dalvik opcodes.

Android reference for dalvik.bytecode.Opcodes.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Fields

Name Description
OpAddDouble

Identifies addition of two double-precision values.

OpAddDouble2addr

Identifies in-place double-precision addition.

OpAddFloat

Identifies addition of two single-precision values.

OpAddFloat2addr

Identifies in-place single-precision addition.

OpAddInt

Identifies addition of two 32-bit integers.

OpAddInt2addr

Identifies in-place addition of 32-bit integers.

OpAddIntLit16

Identifies addition of a signed sixteen-bit literal to an integer.

OpAddIntLit8

Identifies addition of a signed eight-bit literal to an integer.

OpAddLong

Identifies addition of two 64-bit integers.

OpAddLong2addr

Identifies in-place addition of 64-bit integers.

OpAget

Identifies loading a single-register non-reference array element.

OpAgetBoolean

Identifies loading an element from a boolean array.

OpAgetByte

Identifies loading an element from a byte array.

OpAgetChar

Identifies loading an element from a character array.

OpAgetObject

Identifies loading an object reference from an array.

OpAgetShort

Identifies loading an element from a short-integer array.

OpAgetWide

Identifies loading a 64-bit array element into a register pair.

OpAndInt

Identifies bitwise AND of two 32-bit values.

OpAndInt2addr

Identifies in-place bitwise AND of 32-bit values.

OpAndIntLit16

Identifies bitwise AND with a signed sixteen-bit literal.

OpAndIntLit8

Identifies bitwise AND with a signed eight-bit literal.

OpAndLong

Identifies bitwise AND of two 64-bit values.

OpAndLong2addr

Identifies in-place bitwise AND of 64-bit values.

OpAput

Identifies storing a single-register non-reference array element.

OpAputBoolean

Identifies storing a boolean array element.

OpAputByte

Identifies storing a byte array element.

OpAputChar

Identifies storing a character array element.

OpAputObject

Identifies storing an object reference in an array element.

OpAputShort

Identifies storing a short-integer array element.

OpAputWide

Identifies storing a register pair into a 64-bit array element.

OpArrayLength

Identifies retrieval of an array's element count.

OpBreakpoint
Obsolete.

Implementation detail.

OpCheckCast

Identifies a checked cast of a register's object reference.

OpCheckCastJumbo

Never implemented; do not use.

OpCmpgDouble

Identifies comparison of double-precision values with a positive NaN result.

OpCmpgFloat

Identifies comparison of single-precision values with a positive NaN result.

OpCmplDouble

Identifies comparison of double-precision values with a negative NaN result.

OpCmplFloat

Identifies comparison of single-precision values with a negative NaN result.

OpCmpLong

Identifies a signed 64-bit comparison.

OpConst

Identifies loading a 32-bit literal into a register.

OpConst16

Identifies loading a signed sixteen-bit constant into a register.

OpConst4

Identifies loading a signed four-bit constant into a register.

OpConstClass

Identifies loading a class reference by its type-table index.

OpConstClassJumbo

Never implemented; do not use.

OpConstHigh16

Identifies loading a constant into the high sixteen bits of a register.

OpConstMethodHandle

Identifies loading an indexed method-handle reference.

OpConstMethodType

Identifies loading a method-type reference from a prototype index.

OpConstString

Identifies loading a string reference by its string-table index.

OpConstStringJumbo

Identifies loading a string reference with a 32-bit string-table index.

OpConstWide

Identifies loading a 64-bit literal into a register pair.

OpConstWide16

Identifies loading a signed sixteen-bit literal into a register pair.

OpConstWide32

Identifies loading a signed 32-bit literal into a register pair.

OpConstWideHigh16

Identifies loading a constant into the high sixteen bits of a register pair.

OpDivDouble

Identifies double-precision floating-point division.

OpDivDouble2addr

Identifies in-place double-precision division.

OpDivFloat

Identifies single-precision floating-point division.

OpDivFloat2addr

Identifies in-place single-precision division.

OpDivInt

Identifies signed 32-bit integer division.

OpDivInt2addr

Identifies in-place signed 32-bit division.

OpDivIntLit16

Identifies integer division by a signed sixteen-bit literal.

OpDivIntLit8

Identifies integer division by a signed eight-bit literal.

OpDivLong

Identifies signed 64-bit integer division.

OpDivLong2addr

Identifies in-place signed 64-bit division.

OpDoubleToFloat

Identifies narrowing a double-precision value to single precision.

OpDoubleToInt

Identifies conversion of a double-precision value to a 32-bit integer.

OpDoubleToLong

Identifies conversion of a double-precision value to a 64-bit integer.

OpExecuteInline
Obsolete.

Implementation detail.

OpExecuteInlineRange
Obsolete.

Implementation detail.

OpFillArrayData

Identifies initialization of a primitive array from a data payload.

OpFilledNewArray

Identifies creation of an array from individually listed argument registers.

OpFilledNewArrayJumbo

Never implemented; do not use.

OpFilledNewArrayRange

Identifies creation of an array from a consecutive range of registers.

OpFloatToDouble

Identifies widening a single-precision value to double precision.

OpFloatToInt

Identifies conversion of a single-precision value to a 32-bit integer.

OpFloatToLong

Identifies conversion of a single-precision value to a 64-bit integer.

OpGoto

Identifies an unconditional branch with a signed eight-bit offset.

OpGoto16

Identifies an unconditional branch with a signed sixteen-bit offset.

OpGoto32

Identifies an unconditional branch with a signed 32-bit offset.

OpIfEq

Identifies a branch taken when two register values are equal.

OpIfEqz

Identifies a branch taken when a register value is zero.

OpIfGe

Identifies a branch taken when the first integer operand is at least the second.

OpIfGez

Identifies a branch taken when an integer register value is nonnegative.

OpIfGt

Identifies a branch taken when the first integer operand exceeds the second.

OpIfGtz

Identifies a branch taken when an integer register value is positive.

OpIfLe

Identifies a branch taken when the first integer operand is at most the second.

OpIfLez

Identifies a branch taken when an integer register value is nonpositive.

OpIfLt

Identifies a branch taken when the first integer operand is less than the second.

OpIfLtz

Identifies a branch taken when an integer register value is negative.

OpIfNe

Identifies a branch taken when two register values differ.

OpIfNez

Identifies a branch taken when a register value is nonzero.

OpIget

Identifies reading a single-register non-reference instance field.

OpIgetBoolean

Identifies reading a boolean instance field.

OpIgetBooleanJumbo

Never implemented; do not use.

OpIgetByte

Identifies reading a byte instance field.

OpIgetByteJumbo

Never implemented; do not use.

OpIgetChar

Identifies reading a character instance field.

OpIgetCharJumbo

Never implemented; do not use.

OpIgetJumbo

Never implemented; do not use.

OpIgetObject

Identifies reading an object-reference instance field.

OpIgetObjectJumbo

Never implemented; do not use.

OpIgetObjectQuick
Obsolete.

Implementation detail.

OpIgetQuick
Obsolete.

Implementation detail.

OpIgetShort

Identifies reading a short-integer instance field.

OpIgetShortJumbo

Never implemented; do not use.

OpIgetWide

Identifies reading a 64-bit instance field into a register pair.

OpIgetWideJumbo

Never implemented; do not use.

OpIgetWideQuick
Obsolete.

Implementation detail.

OpIgetWideVolatile
Obsolete.

Implementation detail.

OpInstanceOf

Identifies testing whether a reference is an instance of a type.

OpInstanceOfJumbo

Never implemented; do not use.

OpIntToByte

Identifies narrowing an integer to a signed byte.

OpIntToChar

Identifies narrowing an integer to an unsigned sixteen-bit character.

OpIntToDouble

Identifies conversion of a 32-bit integer to double precision.

OpIntToFloat

Identifies conversion of a 32-bit integer to single precision.

OpIntToLong

Identifies conversion of a 32-bit integer to a 64-bit integer.

OpIntToShort

Identifies narrowing an integer to a signed short.

OpInvokeCustom

Identifies resolution and invocation of a call site.

OpInvokeCustomRange

Identifies call-site invocation with a consecutive argument range.

OpInvokeDirect

Identifies the invoke-direct opcode, which invokes a non-static direct method, such as a private instance method or constructor.

OpInvokeDirectEmpty
Obsolete.

Implementation detail.

OpInvokeDirectJumbo

Never implemented; do not use.

OpInvokeDirectRange

Identifies direct instance-method invocation with consecutive argument registers.

OpInvokeInterface

Identifies the invoke-interface opcode, which invokes an interface method on an object whose concrete class is not statically known.

OpInvokeInterfaceJumbo

Never implemented; do not use.

OpInvokeInterfaceRange

Identifies interface method invocation with consecutive argument registers.

OpInvokePolymorphic

Identifies invocation of a signature-polymorphic method.

OpInvokePolymorphicRange

Identifies signature-polymorphic invocation with a consecutive register range.

OpInvokeStatic

Identifies the invoke-static opcode, which invokes a static method.

OpInvokeStaticJumbo

Never implemented; do not use.

OpInvokeStaticRange

Identifies static method invocation with a consecutive argument range.

OpInvokeSuper

Identifies the invoke-super opcode, which invokes the closest superclass implementation of a virtual method or, in DEX files version 037 or later, the most specific non-overridden implementation of an interface method.

OpInvokeSuperJumbo

Never implemented; do not use.

OpInvokeSuperQuick
Obsolete.

Implementation detail.

OpInvokeSuperQuickRange
Obsolete.

Implementation detail.

OpInvokeSuperRange

Identifies invocation of a super method using consecutive argument registers.

OpInvokeVirtual

Identifies the invoke-virtual opcode, which invokes a normal virtual method that is not static, private, or a constructor.

OpInvokeVirtualJumbo

Never implemented; do not use.

OpInvokeVirtualQuick
Obsolete.

Implementation detail.

OpInvokeVirtualQuickRange
Obsolete.

Implementation detail.

OpInvokeVirtualRange

Identifies virtual invocation with arguments in consecutive registers.

OpIput

Identifies writing a single-register non-reference instance field.

OpIputBoolean

Identifies writing a boolean instance field.

OpIputBooleanJumbo

Never implemented; do not use.

OpIputByte

Identifies writing a byte instance field.

OpIputByteJumbo

Never implemented; do not use.

OpIputChar

Identifies writing a character instance field.

OpIputCharJumbo

Never implemented; do not use.

OpIputJumbo

Never implemented; do not use.

OpIputObject

Identifies writing an object-reference instance field.

OpIputObjectJumbo

Never implemented; do not use.

OpIputObjectQuick
Obsolete.

Implementation detail.

OpIputQuick
Obsolete.

Implementation detail.

OpIputShort

Identifies writing a short-integer instance field.

OpIputShortJumbo

Never implemented; do not use.

OpIputWide

Identifies writing a 64-bit instance field from a register pair.

OpIputWideJumbo

Never implemented; do not use.

OpIputWideQuick
Obsolete.

Implementation detail.

OpIputWideVolatile
Obsolete.

Implementation detail.

OpLongToDouble

Identifies conversion of a 64-bit integer to double precision.

OpLongToFloat

Identifies conversion of a 64-bit integer to single precision.

OpLongToInt

Identifies narrowing a 64-bit integer to 32 bits.

OpMonitorEnter

Identifies acquisition of an object's monitor.

OpMonitorExit

Identifies release of an object's monitor.

OpMove

Identifies a 32-bit register-to-register move for non-reference values.

OpMove16

Identifies a non-reference move with sixteen-bit register numbers.

OpMoveException

Identifies transfer of a caught exception into a register.

OpMoveFrom16

Identifies a non-reference move with a sixteen-bit source register number.

OpMoveObject

Identifies an object-reference move between registers.

OpMoveObject16

Identifies an object-reference move with sixteen-bit register numbers.

OpMoveObjectFrom16

Identifies an object-reference move with a sixteen-bit source register number.

OpMoveResult

Identifies the move-result opcode, which immediately follows an invocation to store its result.

OpMoveResultObject

Identifies retrieval of an object-reference result.

OpMoveResultWide

Identifies retrieval of a 64-bit invocation result.

OpMoveWide

Identifies a move between register pairs.

OpMoveWide16

Identifies a register-pair move with sixteen-bit register numbers.

OpMoveWideFrom16

Identifies a register-pair move with a sixteen-bit source register number.

OpMulDouble

Identifies multiplication of two double-precision values.

OpMulDouble2addr

Identifies in-place double-precision multiplication.

OpMulFloat

Identifies multiplication of two single-precision values.

OpMulFloat2addr

Identifies in-place single-precision multiplication.

OpMulInt

Identifies multiplication of two 32-bit integers.

OpMulInt2addr

Identifies in-place multiplication of 32-bit integers.

OpMulIntLit16

Identifies integer multiplication by a signed sixteen-bit literal.

OpMulIntLit8

Identifies integer multiplication by a signed eight-bit literal.

OpMulLong

Identifies multiplication of two 64-bit integers.

OpMulLong2addr

Identifies in-place multiplication of 64-bit integers.

OpNegDouble

Identifies arithmetic negation of a double-precision value.

OpNegFloat

Identifies arithmetic negation of a single-precision value.

OpNegInt

Identifies arithmetic negation of a 32-bit integer.

OpNegLong

Identifies arithmetic negation of a 64-bit integer.

OpNewArray

Identifies creation of an array with a register-supplied length.

OpNewArrayJumbo

Never implemented; do not use.

OpNewInstance

Identifies allocation of an instance of a non-array class.

OpNewInstanceJumbo

Never implemented; do not use.

OpNop

Identifies the instruction that performs no operation.

OpNotInt

Identifies bitwise complementation of a 32-bit integer.

OpNotLong

Identifies bitwise complementation of a 64-bit integer.

OpOrInt

Identifies bitwise OR of two 32-bit values.

OpOrInt2addr

Identifies in-place bitwise OR of 32-bit values.

OpOrIntLit16

Identifies bitwise OR with a signed sixteen-bit literal.

OpOrIntLit8

Identifies bitwise OR with a signed eight-bit literal.

OpOrLong

Identifies bitwise OR of two 64-bit values.

OpOrLong2addr

Identifies in-place bitwise OR of 64-bit values.

OpPackedSwitch

Identifies a switch using a contiguous range of integer case values.

OpRemDouble

Identifies double-precision remainder after division.

OpRemDouble2addr

Identifies an in-place double-precision remainder operation.

OpRemFloat

Identifies single-precision remainder after division.

OpRemFloat2addr

Identifies an in-place single-precision remainder operation.

OpRemInt

Identifies the remainder of signed 32-bit integer division.

OpRemInt2addr

Identifies an in-place signed 32-bit remainder operation.

OpRemIntLit16

Identifies integer remainder with a signed sixteen-bit literal divisor.

OpRemIntLit8

Identifies integer remainder with a signed eight-bit literal divisor.

OpRemLong

Identifies the remainder of signed 64-bit integer division.

OpRemLong2addr

Identifies an in-place signed 64-bit remainder operation.

OpReturn

Identifies a method return with a single-register non-reference result.

OpReturnObject

Identifies a method return with an object reference.

OpReturnVoid

Identifies a return from a method without a return value.

OpReturnWide

Identifies a method return with a 64-bit result.

OpRsubInt

Identifies subtraction of an integer register from a signed sixteen-bit literal.

OpRsubIntLit8

Identifies subtraction of an integer register from a signed eight-bit literal.

OpSget

Identifies reading a single-register non-reference static field.

OpSgetBoolean

Identifies reading a boolean static field.

OpSgetBooleanJumbo

Never implemented; do not use.

OpSgetByte

Identifies reading a byte static field.

OpSgetByteJumbo

Never implemented; do not use.

OpSgetChar

Identifies reading a character static field.

OpSgetCharJumbo

Never implemented; do not use.

OpSgetJumbo

Never implemented; do not use.

OpSgetObject

Identifies reading an object-reference static field.

OpSgetObjectJumbo

Never implemented; do not use.

OpSgetShort

Identifies reading a short-integer static field.

OpSgetShortJumbo

Never implemented; do not use.

OpSgetWide

Identifies reading a 64-bit static field into a register pair.

OpSgetWideJumbo

Never implemented; do not use.

OpSgetWideVolatile
Obsolete.

Implementation detail.

OpShlInt

Identifies a 32-bit left shift.

OpShlInt2addr

Identifies an in-place 32-bit left shift.

OpShlIntLit8

Identifies an integer left shift by an encoded eight-bit count.

OpShlLong

Identifies a 64-bit left shift.

OpShlLong2addr

Identifies an in-place 64-bit left shift.

OpShrInt

Identifies a signed 32-bit right shift.

OpShrInt2addr

Identifies an in-place signed 32-bit right shift.

OpShrIntLit8

Identifies a signed integer right shift by an encoded eight-bit count.

OpShrLong

Identifies a signed 64-bit right shift.

OpShrLong2addr

Identifies an in-place signed 64-bit right shift.

OpSparseSwitch

Identifies a switch using ordered integer key and target pairs.

OpSput

Identifies writing a single-register non-reference static field.

OpSputBoolean

Identifies writing a boolean static field.

OpSputBooleanJumbo

Never implemented; do not use.

OpSputByte

Identifies writing a byte static field.

OpSputByteJumbo

Never implemented; do not use.

OpSputChar

Identifies writing a character static field.

OpSputCharJumbo

Never implemented; do not use.

OpSputJumbo

Never implemented; do not use.

OpSputObject

Identifies writing an object-reference static field.

OpSputObjectJumbo

Never implemented; do not use.

OpSputShort

Identifies writing a short-integer static field.

OpSputShortJumbo

Never implemented; do not use.

OpSputWide

Identifies writing a 64-bit static field from a register pair.

OpSputWideJumbo

Never implemented; do not use.

OpSputWideVolatile
Obsolete.

Implementation detail.

OpSubDouble

Identifies subtraction of double-precision values.

OpSubDouble2addr

Identifies in-place double-precision subtraction.

OpSubFloat

Identifies subtraction of single-precision values.

OpSubFloat2addr

Identifies in-place single-precision subtraction.

OpSubInt

Identifies subtraction of one 32-bit integer from another.

OpSubInt2addr

Identifies in-place subtraction of 32-bit integers.

OpSubLong

Identifies subtraction of 64-bit integers.

OpSubLong2addr

Identifies in-place subtraction of 64-bit integers.

OpThrow

Identifies throwing the exception reference held in a register.

OpThrowVerificationError
Obsolete.

Implementation detail.

OpUshrInt

Identifies a zero-filling 32-bit right shift.

OpUshrInt2addr

Identifies an in-place zero-filling 32-bit right shift.

OpUshrIntLit8

Identifies a zero-filling integer right shift by an encoded eight-bit count.

OpUshrLong

Identifies a zero-filling 64-bit right shift.

OpUshrLong2addr

Identifies an in-place zero-filling 64-bit right shift.

OpXorInt

Identifies bitwise exclusive OR of two 32-bit values.

OpXorInt2addr

Identifies in-place bitwise exclusive OR of 32-bit values.

OpXorIntLit16

Identifies bitwise exclusive OR with a signed sixteen-bit literal.

OpXorIntLit8

Identifies bitwise exclusive OR with a signed eight-bit literal.

OpXorLong

Identifies bitwise exclusive OR of two 64-bit values.

OpXorLong2addr

Identifies in-place bitwise exclusive OR of 64-bit values.

Applies to