1 /* 2 * Throw an exception object in the current thread. 3 */ 4 /* throw vAA */ 5 EXPORT_PC 6 srl a2, rINST, 8 # a2 <- AA 7 GET_VREG_U a0, a2 # a0 <- vAA (exception object) 8 beqzc a0, common_errNullObject 9 sd a0, THREAD_EXCEPTION_OFFSET(rSELF) # thread->exception <- obj 10 b MterpException 11