dup_x1Stack
Before | After |
word1 | word1 |
word2 | word2 |
... | word1 |
|
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
See Also Description u1 dup_x1 = 0x5A (90)
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.