• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1%default { "is_object":"0" }
2    /* for: move-result, move-result-object */
3    /* op vAA */
4    srl     a2, rINST, 8                # a2 <- AA
5    FETCH_ADVANCE_INST 1                # advance rPC, load rINST
6    ld      a0, OFF_FP_RESULT_REGISTER(rFP)  # get pointer to result JType
7    lw      a0, 0(a0)                   # a0 <- result.i
8    GET_INST_OPCODE v0                  # extract opcode from rINST
9    .if $is_object
10    SET_VREG_OBJECT a0, a2              # vAA <- result
11    .else
12    SET_VREG a0, a2                     # vAA <- result
13    .endif
14    GOTO_OPCODE v0                      # jump to next instruction
15