What is code for control magnetic flux density meter?

I want to build a magnetic flux density meter by AT89S52 ,UNG3053 for Hall effect sensor and LTC1298 12-bit Analog-to-Digital Converter.