please send adc and dac c code for c8051f120
Good for you!
In the process, you probably learned a lot more than if anyone had just given you the code, didn't you?
So, are you going to post your code for others to share...?