blob: f04a0355138f09df30a643146d2dee041f7a5f74 [file] [log] [blame]
Douglas Leung200f0402016-02-25 20:05:47 -08001 /* move-exception vAA */
2 GET_OPA(a2) # a2 <- AA
3 lw a3, THREAD_EXCEPTION_OFFSET(rSELF) # get exception obj
4 FETCH_ADVANCE_INST(1) # advance rPC, load rINST
5 SET_VREG_OBJECT(a3, a2) # fp[AA] <- exception obj
6 GET_INST_OPCODE(t0) # extract opcode from rINST
7 sw zero, THREAD_EXCEPTION_OFFSET(rSELF) # clear exception
8 GOTO_OPCODE(t0) # jump to next instruction