This app is a 8051 tutorial. It is suitable for hobbyist or engineering students. Have you forgotten how to set up the TCON, TMOD, SCON, IE register etc? 8051 Studio has a rapid 8051 C source code generator. Just pick up pre-defined devices and press "generation" button. All the C 8051 source code files will be generated. It works like a charm.