package name.panitz.fun4u.machine;

public class Jump implements Instruction {
	public int jump;
	
	public Jump(int jump) {
		super();
		this.jump = jump;
	}

	@Override
	public void execute(Kellermaschine kellermaschine) {
		kellermaschine.pc=kellermaschine.pc+jump;
	}
	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return super.toString()+" "+jump;
	}
	
}


