Example #1
0
void main(void)
{

  uchar0 = 0x13;
  and_compound1();

  uchar1 = 0x42;
  and_compound2();

  uchar0 = 0x13;
  or_compound1();

  uchar1 = 0x47;
  or_compound2();

  uchar0 = 0x13;
  xor_compound1();

  uchar1 = 0x47;
  xor_compound2();

  uchar0 = 0x13;
  neg_compound1();

  done();
}
Example #2
0
int main(void)
{
  uchar0 = 0x13;
  and_compound1();

  uchar1 = 0x42;
  and_compound2();

  uchar0 = 0x13;
  or_compound1();

  uchar1 = 0x47;
  or_compound2();

  uchar0 = 0x13;
  xor_compound1();

  uchar1 = 0x47;
  xor_compound2();

  uchar0 = 0x13;
  neg_compound1();

  success = failures;
  done();
  printf("failures: %d\n",failures);

  return failures;
}