blob: f7de6c20b5bc1b8c8e952a8d316c0d22fac8f685 [file] [log] [blame]
Douglas Leung200f0402016-02-25 20:05:47 -08001%default { "is_object":"0" }
2 /* for: move/16, move-object/16 */
3 /* op vAAAA, vBBBB */
4 FETCH(a1, 2) # a1 <- BBBB
5 FETCH(a0, 1) # a0 <- AAAA
6 FETCH_ADVANCE_INST(3) # advance rPC, load rINST
7 GET_VREG(a2, a1) # a2 <- fp[BBBB]
8 GET_INST_OPCODE(t0) # extract opcode from rINST
9 .if $is_object
10 SET_VREG_OBJECT(a2, a0) # fp[AAAA] <- a2
11 .else
12 SET_VREG(a2, a0) # fp[AAAA] <- a2
13 .endif
14 GOTO_OPCODE(t0) # jump to next instruction