View Javadoc
1 package jrre.instructionset.push; 2 3 import jrre.*; 4 import jrre.types.*; 5 import jrre.classloader.classfile.pool_entries.*; 6 7 public class LConst_0 extends jrre.instructionset.Instruction { 8 9 public LConst_0(){ 10 11 name = "lconst_0"; 12 description = "foo foo moo poo"; 13 length = 0; 14 } 15 16 /*** 17 * Executes the <strong><code>lconst_0</code></strong> instruction. 18 * 19 */ 20 public void execute(){ 21 22 Stack.pushOperand(new PrimitiveType(0)); 23 Stack.pushOperand(new PrimitiveType(0)); 24 25 } 26 27 public String toString(){ 28 StringBuffer toReturn = new StringBuffer(); 29 toReturn.append("lconst_0"); 30 return toReturn.toString(); 31 } 32 }

This page was automatically generated by Maven