blob: 547ea3a18517bf6e4a887dd5fd8196487a52a7e3 [file] [log] [blame]
Douglas Leung200f0402016-02-25 20:05:47 -08001%default { "is_object":"0" }
2 /* for move, move-object, long-to-int */
3 /* op vA, vB */
4 GET_OPB(a1) # a1 <- B from 15:12
5 GET_OPA4(a0) # a0 <- A from 11:8
6 FETCH_ADVANCE_INST(1) # advance rPC, load rINST
7 GET_VREG(a2, a1) # a2 <- fp[B]
8 GET_INST_OPCODE(t0) # t0 <- opcode from rINST
9 .if $is_object
Alexey Frunze84603bf2016-10-21 19:54:43 -070010 SET_VREG_OBJECT_GOTO(a2, a0, t0) # fp[A] <- a2
Douglas Leung200f0402016-02-25 20:05:47 -080011 .else
Alexey Frunze84603bf2016-10-21 19:54:43 -070012 SET_VREG_GOTO(a2, a0, t0) # fp[A] <- a2
Douglas Leung200f0402016-02-25 20:05:47 -080013 .endif