详细介绍了uC/OS-II 的V2.52 版本在C8051F020 单片机上的移植。相对V2.51之前的版本,对中断任务切换函数的移植做了简化。文章还详细解释了一些和编译器相关的基本概念。 关 键 词:μC/OS-II;实时操作系统;C8051F020 Abstract:This paper describe the transplantation of uC/OS-II V2.52 to the C8051F020 MCU in detail. The switch function about task of interrpt was cut.The paper also gave an explanation of some conception about compiler. Key words: μC/OS-II;real-time operating system;C8051F020