8051 interfacing to ADC and DAC