1%default { "is_object":"0" } 2 /* for move, move-object, long-to-int */ 3 /* op vA, vB */ 4 ext a2, rINST, 8, 4 # a2 <- A 5 ext a3, rINST, 12, 4 # a3 <- B 6 FETCH_ADVANCE_INST 1 # advance rPC, load rINST 7 GET_VREG a0, a3 # a0 <- vB 8 GET_INST_OPCODE v0 # extract opcode from rINST 9 .if $is_object 10 SET_VREG_OBJECT a0, a2 # vA <- vB 11 .else 12 SET_VREG a0, a2 # vA <- vB 13 .endif 14 GOTO_OPCODE v0 # jump to next instruction 15