Douglas Leung | 200f040 | 2016-02-25 20:05:47 -0800 | [diff] [blame] | 1 | /* 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 |