public class DUP extends StackInstruction implements PushInstruction
Stack: ..., word -> ..., word, word
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
length, opcode
Constructor and Description |
---|
DUP() |
Modifier and Type | Method and Description |
---|---|
void |
accept(Visitor v)
Call corresponding visitor method(s).
|
getType
consumeStack, copy, dispose, dump, equals, getComparator, getLength, getName, getOpcode, hashCode, initFromFile, produceStack, readInstruction, setComparator, toString, toString, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
produceStack
private static final long serialVersionUID
public void accept(Visitor v)
accept
in class Instruction
v
- Visitor object