
public class Eq implements Instruction {

	@Override
	public void execute(Kellermaschine kellermaschine) {
		int op1 = kellermaschine.keller.pop();
		int op2 = kellermaschine.keller.pop();
		if (op1==op2)
			kellermaschine.keller.push(1);
		else 
			kellermaschine.keller.push(0);
		kellermaschine.pc=kellermaschine.pc+1;
	}

}
