f1(long a)1 long f1(long a){return a&0xff000000L;}
f2(long a)2 long f2 (long a){return a&~0xff000000L;}
f3(long a)3 long f3(long a){return a&0x000000ffL;}
f4(long a)4 long f4(long a){return a&~0x000000ffL;}
f5(long a)5 long f5(long a){return a&0x0000ffffL;}
f6(long a)6 long f6(long a){return a&~0x0000ffffL;}
7 
main()8 main ()
9 {
10   long a = 0x89ABCDEF;
11 
12   if (f1(a)!=0x89000000L||
13       f2(a)!=0x00ABCDEFL||
14       f3(a)!=0x000000EFL||
15       f4(a)!=0x89ABCD00L||
16       f5(a)!=0x0000CDEFL||
17       f6(a)!=0x89AB0000L)
18     abort();
19   exit(0);
20 }
21