com.jeffpalm.basic.bytecode.instr
Class Dup

java.lang.Object
  extended by com.jeffpalm.basic.bytecode.instr.Instruction
      extended by com.jeffpalm.basic.bytecode.instr.Dup

public class Dup
extends Instruction

Duplicate the top operand stack value


Constructor Summary
Dup()
           
 
Method Summary
 byte[] getBytes()
           
 java.lang.String getName()
           
 java.lang.String toString()
           
 
Methods inherited from class com.jeffpalm.basic.bytecode.instr.Instruction
format, getLabel, length, opcode, setLabel, toHex, toHex, toInt, toInt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Dup

public Dup()
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in class Instruction

getBytes

public byte[] getBytes()
Specified by:
getBytes in class Instruction

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object