示例#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();
}
示例#2
0
文件: and2.c 项目: Aliandrana/cc65
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;
}