Extracting the code from a printer cartridge chip

hmm..okh,but any idea about extracting the code from the chip?