64.

prev next contents
dup_x1

duplicate top stack word and insert beneath second word

Jasmin Syntax
     dup_x1 
Stack

Before

After
word1
word1
word2
word2
...
word1


Description

Duplicates the top item on the stack and inserts the duplicate below the second-from-top item. Both items must be single-word items.

Bytecode

Type

Description
u1
dup_x1 = 0x5A (90)
See Also

dup, dup2, dup2_x1, dup2_x2

Notes

This instruction cannot be used if either of item1 or item2 are two-word items. To duplicate a two-word item (a long or a double) you must use dup2, dup2_x1 or dup2_x2.


prev next contents
Java Virtual Machine, by Jon Meyer and Troy Downing, O'Reilly Associates


Java Virtual Machine
Java Virtual Machine (Java Series)
ISBN: 1565921941
EAN: 2147483647
Year: 1996
Pages: 171

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net