Assign each Byte of a long or int a value

You can declare union, look at this as example:
http://arduino.cc/forum/index.php/topic,66206.0/topicseen.html