Home | History | Annotate | Download | only in mips
      1 %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
     15