Contents | Prev | Next | Index

dup2_x1

Operation
Duplicate top two operand stack words and put three down

dup2_x1

Forms
dup2_x1 = 93 (0x5d)

Stack
..., word3, word2, word1 ..., word2, word1, word3, word2, word1

Description
The top two words on the operand stack are duplicated and the copies inserted, in the original order, three words down in the operand stack.

The dup2_x1 instruction must not be used unless each of word1 and word2 is a word that contains a 32-bit data type or both together are the two words that contain a single 64-bit datum, and unless word3 is a word that contains a 32-bit data type.

Notes
Except for restrictions preserving the integrity of 64-bit data types, the dup2_x1 instruction operates on untyped words, ignoring the types of the data they contain.


Contents | Prev | Next | Index

Java Virtual Machine Specification (HTML generated by dkramer on February 25, 1997)
Copyright © 1996 Sun Microsystems, Inc. All rights reserved
Please send any comments or corrections to doug.kramer@sun.com