Abstract:This paper introduces a multi-task programming process in MCS-51 system. The main task processing strategies and kernels of multi-task operating system MCS-51 are analyzed in the paper. On this basis, a multitasking example is designed and realized. The example can be easily transplanted into other applications, and has typical significance to the design of complicated multitasking system.