• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1%default { "is_object":"0" }
2    /* for move, move-object, long-to-int */
3    /* op vA, vB */
4    lsr     w1, wINST, #12              // x1<- B from 15:12
5    ubfx    w0, wINST, #8, #4           // x0<- A from 11:8
6    FETCH_ADVANCE_INST 1                // advance rPC, load wINST
7    GET_VREG w2, w1                     // x2<- fp[B]
8    GET_INST_OPCODE ip                  // ip<- opcode from wINST
9    .if $is_object
10    SET_VREG_OBJECT w2, w0              // fp[A]<- x2
11    .else
12    SET_VREG w2, w0                     // fp[A]<- x2
13    .endif
14    GOTO_OPCODE ip                      // execute next instruction
15