When trying to do the && and || evaluation we always get zero. Is there something wrong in our code?
labelcount = labelcount + 1;
int label1 = labelcount;
compileExp(p.exp_1, arg);
System.out.println("ifeq " + "AndFALSE" + label1);
compileExp(p.exp_2, arg);
System.out.println("ifeq " + "AndFALSE" + label1);
System.out.println("bipush 1");
System.out.println("goto AndTRUE" + label1);
System.out.println("AndFALSE" + label1 + ":");
System.out.println("bipush 0");
System.out.println("AndTRUE" + label1 + ":");