g(long width,unsigned long byte)1 long g (long width, unsigned long byte) {
2   long r_hi = 0;
3   unsigned long r_lo = 0;
4   int s;
5   for (s = 0; s < width; s += 8)
6     {
7       int d = width - s - 8;
8       if (s < (8 * 8))
9         r_hi |= byte << (d - (8 * 8));
10     }
11   return r_lo + r_hi;
12 }
13 
14