I was looking at branching, and I wanted to avoid branching in a loop, which basically was doing this
for(z=0; z<8; z++){
if(0xff&&(array[z])!=0 ){
break;
}
}
so my plan was actually to replace it with the following :
for(z=0; z<8; z++){
(0xff&&(array[z])==0 ) ? continue : break;
}
but well, this does not work, and I understand why, but would like to know if there is another way of doing this, in a similar way.
Thanks