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

This page was automatically generated by Maven