A word of warning (just in case), the 12C508 is OTP (One Time Programmable), so you need to buy at least one 12C508JW which is a UV eraseable version (and also need a UV eraser). The 12C508 has an internal oscillator, and has a calibration byte for this stored at the very top of memory. Before you do anything else, read the JW chip and WRITE THE VALUE DOWN, as it'e erased along with the rest of the chip in the eraser, and you have to restore it each time.
You won't believe how many people simply erase the chip without doing this!.