#include <stdio.h>
int main(void)
{
int success = 0;
int value = 0xBACA;
{
return (0);
}
{
success++;
printf("Successfully set all outputs: 0x%X\n", value);
}
value = 0xFF0F;
{
success++;
printf("Successfully ANDed outputs: 0x%X\n", value);
}
value == 0xBA0A)
{
success++;
printf("Successfully got all outputs: 0x%X\n", value);
}
return ((success == 3) ? 0 : -1);
}