Home | History | Annotate | Download | only in mips
      1 %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
     10     SET_VREG_OBJECT(a2, a0)                #  fp[A] <- a2
     11     .else
     12     SET_VREG(a2, a0)                       #  fp[A] <- a2
     13     .endif
     14     GOTO_OPCODE(t0)                        #  jump to next instruction
     15