I need to write some ADC results in EEprom for calibrating a design. This wont be needed in the final product, its just to calibrate a resistor divider.

I'm using a 10bit ADC result and need the result in 10 bits for elsewhere in the program. If I put the result into a duplicate VAR WORD and divide it by 4 , can I put that result in a new VAR BYTE and write the byte to EEprom?

It *looks* like this works from what I'm reading back from EEprom but I just wanted a second opinion.

Thanks!