11-16-2022, 10:56 PM
Kernelpanic
I don't know what you expect, here's the output from the C equivalent
I don't know what you expect, here's the output from the C equivalent
Code: (Select All)
1
-31
2
-41
3
-16
4
-16
5
-61
Code: (Select All)
#include <stdio.h>
#include <stdint.h>
int main(void) {
int16_t a=10, b=20, c=40, d=15;
printf("%s\n","1");
printf("%d\n",(~a)&(~b));
printf("%s\n","2");
printf("%d\n", ~c);
printf("%s\n","3");
printf("%d\n",(~a)&(~d));
printf("%s\n","4");
printf("%d\n",~d);
printf("%s\n","5");
printf("%d\n",(~b)&(~c));
return 0;
}