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 srl a2, rINST, 12 # a2 <- B 5 lhu a1, 2(rPC) # a1 <- field byte offset 6 GET_VREG_U a3, a2 # a3 <- object we're operating on 7 ext a4, rINST, 8, 4 # a4 <- A 8 daddu a1, a1, a3 9 beqz a3, common_errNullObject # object was null 10 $load a0, 0(a1) # a0 <- obj.field 11 FETCH_ADVANCE_INST 2 # advance rPC, load rINST 12 SET_VREG a0, a4 # fp[A] <- a0 13 GET_INST_OPCODE v0 # extract opcode from rINST 14 GOTO_OPCODE v0 # jump to next instruction 15