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