1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
6 <title>aput<kind></title>
7 <link rel=stylesheet href="opcode.css">
12 <h1>aput<kind></h1>
22 <table class="instruc">
25 <th>Op & Format</th>
26 <th>Mnemonic / Syntax</th>
33 <td><i>arrayop</i> vAA, vBB, vCC<br/>
42 <td><code>A:</code> source value register or pair; (8 bits)<br/>
43 <code>B:</code> array register (8 bits)<br/>
44 <code>C:</code> index register (8 bits)</td>
53 A, B and C must be valid register indices in the current stack frame.
56 For the aget-wide variant, also A+1 must be a valid register index in the
60 Register vB must contain an array reference. The component type of the array
61 must match the variant of the instruction.
64 Register vC must contain an integer value.
72 For all but the -wide variant, the value of register vA is move into the
73 array element at the given index, that is, array[index]'=vA.
76 For the -wide variant, the registers vA and v(A+1) are moved into the array
77 element at the given index as follows:
80 array[index]' = vA << 0x20 | v(A+1)
90 NullPointerException if vB=null.
93 ArrayIndexOutOfBoundsException if vC < 0 or vC >= array.length.