slide 17 of 23
Neighbor Communication
4 8-bit fields in 32-bit registers
Send to "right" neighbor:
return(x << 8);
With wraparound:
return((x << 8) | ((x >> 24) & 0x000000ff));
Multi-hop neighbor communication is also easy