Alexey Frunze | 84603bf | 2016-10-21 19:54:43 -0700 | [diff] [blame] | 1 | /* const/4 vA, +B */ |
Douglas Leung | 200f040 | 2016-02-25 20:05:47 -0800 | [diff] [blame] | 2 | sll a1, rINST, 16 # a1 <- Bxxx0000 |
3 | GET_OPA(a0) # a0 <- A+ | ||||
4 | FETCH_ADVANCE_INST(1) # advance rPC, load rINST | ||||
5 | sra a1, a1, 28 # a1 <- sssssssB (sign-extended) | ||||
6 | and a0, a0, 15 | ||||
7 | GET_INST_OPCODE(t0) # extract opcode from rINST | ||||
8 | SET_VREG_GOTO(a1, a0, t0) # fp[A] <- a1 |