public class StackMachine.PushAddress extends java.lang.Object implements StackMachine.Instruction, java.io.Serializable
| Constructor and Description |
|---|
StackMachine.PushAddress(int address)
Creates a new
PushAddress instance. |
public StackMachine.PushAddress(int address)
PushAddress instance.address - an int valuepublic int arity()
arity method here.arity in interface StackMachine.Instructionint valuepublic void execute()
throws ParseException
execute method here.execute in interface StackMachine.InstructionParseException - if an error occurspublic void write(java.io.PrintStream out)
write method here.write in interface StackMachine.Instructionout - a PrintStream value