summaryrefslogtreecommitdiff
path: root/vm/mterp/x86/OP_CONST_WIDE.S
blob: aa582b896d055139107df0c3a4174fb4660c1843 (plain)
1
2
3
4
5
6
7
8
9
10
11
%verify "executed"
    /* const-wide vAA, #+HHHHhhhhBBBBbbbb */
    movl      2(rPC),%eax         # eax<- lsw
    movzbl    rINST_HI,%ecx       # ecx <- AA
    movl      6(rPC),rINST_FULL   # rINST_FULL<- msw
    leal      (rFP,%ecx,4),%ecx   # dst addr
    movl      rINST_FULL,4(%ecx)
    FETCH_INST_WORD(5)
    movl      %eax,(%ecx)
    ADVANCE_PC(5)
    GOTO_NEXT