// source code
#include <stdio.h>
#define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1))
int main()
{
int xor = 0;
xor = 0x00002800 | 0x10000000;
printf("xor = [0x%08x]\n", xor);
xor = (0x00002bfc | 0x10000000) + 3;
printf("xor = [0x%08x]\n", xor);
xor = 1 << 0;
printf("xor = [0x%08x]\n", xor);
xor = 1 << 1;
printf("xor = [0x%08x]\n", xor);
xor = 1 << 2;
printf("xor = [0x%08x]\n", xor);
printf("0x%x\n", DMA_BIT_MASK(32));
return 0;
}