• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1    /* fill-array-data vAA, +BBBBBBBB */
2    EXPORT_PC()
3    FETCH(a1, 1)                           #  a1 <- bbbb (lo)
4    FETCH(a0, 2)                           #  a0 <- BBBB (hi)
5    GET_OPA(a3)                            #  a3 <- AA
6    INSERT_HIGH_HALF(a1, a0)               #  a1 <- BBBBbbbb
7    GET_VREG(a0, a3)                       #  a0 <- vAA (array object)
8    EAS1(a1, rPC, a1)                      #  a1 <- PC + BBBBbbbb*2 (array data off.)
9    JAL(MterpFillArrayData)                #  v0 <- Mterp(obj, payload)
10    beqz      v0,  MterpPossibleException  #  has exception
11    FETCH_ADVANCE_INST(3)                  #  advance rPC, load rINST
12    GET_INST_OPCODE(t0)                    #  extract opcode from rINST
13    GOTO_OPCODE(t0)                        #  jump to next instruction
14