1%default { "load":"lw" } 2 /* For: iget-quick, iget-boolean-quick, iget-byte-quick, iget-char-quick, iget-short-quick */ 3 # op vA, vB, offset /* CCCC */ 4 GET_OPB(a2) # a2 <- B 5 GET_VREG(a3, a2) # a3 <- object we're operating on 6 FETCH(a1, 1) # a1 <- field byte offset 7 GET_OPA4(a2) # a2 <- A(+) 8 # check object for null 9 beqz a3, common_errNullObject # object was null 10 addu t0, a3, a1 11 $load a0, 0(t0) # a0 <- obj.field (8/16/32 bits) 12 FETCH_ADVANCE_INST(2) # advance rPC, load rINST 13 GET_INST_OPCODE(t0) # extract opcode from rINST 14 SET_VREG_GOTO(a0, a2, t0) # fp[A] <- a0 15