https://aticleworld.com/interfacing-adc0804-8051-microcontroller/
Interfacing ADC 0804 with 8051 Microcontroller