1    /*
2     * Create a new instance of a class.
3     */
4    /* new-instance vAA, class//BBBB */
5    .extern MterpNewInstance
6    EXPORT_PC
7    daddu   a0, rFP, OFF_FP_SHADOWFRAME
8    move    a1, rSELF
9    move    a2, rINST
10    jal     MterpNewInstance            # (shadow_frame, self, inst_data)
11    beqzc   v0, MterpPossibleException
12    FETCH_ADVANCE_INST 2                # advance rPC, load rINST
13    GET_INST_OPCODE v0                  # extract opcode from rINST
14    GOTO_OPCODE v0                      # jump to next instruction
15