1%default { "helper":"artSet32InstanceFromMterp" } 2 /* 3 * General 32-bit instance field put. 4 * 5 * for: iput, iput-boolean, iput-byte, iput-char, iput-short 6 */ 7 /* op vA, vB, field//CCCC */ 8 .extern $helper 9 EXPORT_PC 10 lhu a0, 2(rPC) # a0 <- field ref CCCC 11 srl a1, rINST, 12 # a1 <- B 12 GET_VREG_U a1, a1 # a1 <- fp[B], the object pointer 13 ext a2, rINST, 8, 4 # a2 <- A 14 GET_VREG a2, a2 # a2 <- fp[A] 15 ld a3, OFF_FP_METHOD(rFP) # a3 <- referrer 16 PREFETCH_INST 2 17 jal $helper 18 bnez v0, MterpPossibleException # bail out 19 ADVANCE 2 20 GET_INST_OPCODE v0 # extract opcode from rINST 21 GOTO_OPCODE v0 # jump to next instruction 22