Hi, I have some eeprom locations where I store information as possible . For example, I read the contents of four memory locations , I transfer it on four variables for a total of 32 bits. Now I have to memorize series of numbers ranging from 0 to 59 and then for this needs only six bits each so I can store 5 numbers and I advance two locations where I can store a variable that arrive up to 3 and so on . Or I could enter numbers of up to 10 occupying only 4 bits and I could insert 8. In short, I would like to optimize memory I have available The problem is how to put in the byte , and then remove only the bits that interest me ? There is an elegant way to manipulate these variables and then transfer them in eeprom? I hope I was clear . thanks