The 10-bit A/D converter with programmable gain amplifier converts an analog input signal to a 10-bit binary number. The ADC accepts inputs from twelve different analog input sources. Also included are an on-chip analog comparator with external input pins and a two-input, one-output operational amplifier.