摘要
Microchip公司生产的PIC系列单片机具有实用、低价、简单易学、低功耗、高速度、体积小、功能强等特点,体现了单片机发展的一种新趋势,而PICC具有许多特殊的性质,并且进行了C语言的扩展,从而可以更轻松地完成编程任务。本文简单介绍了PIC系列单片机在国内的发展情况,以Hi- Tech Software公司的Hi- Tech PICC编译器为例介绍了PICC和标准C的异同及Hi Tech- PICC语言的特点,详细介绍了PICC中的变量、指针、函数以及C与汇编混合编程的一些相关知识,并列举了许多例子以便读者理解。此外还着重介绍了用PICC开发PIC系列单片机时应注意的一些问题。
The PIC series microcontrollers of Microchip Company productes have so many characteristics such as more practical, low consumption, low price, simple easy studying, high speed, small, strong function and so on, and have reflected the new trend of Microcontrollers′s development.While PICC has a lot of special nature, and has expanded C language, thus can accomplish the task of programming more easily. This text introduces the PIC series microcontrollers in the domestic development briefly, takes HITECH PICC compiler as an example,introduces the differences between PICC and ANSI C, and the characteristics of PICC, introduced some relevant knowledge of the variable, pointer, function and mixed programming with C and assembler language of PICC with a lot of examples in detail, so that the reader can take them easily. Besides, the text also introduces some questions that should be paid attention to while developing PIC microcontrollers with PICC compiler.
出处
《现代电子技术》
2005年第8期28-30,共3页
Modern Electronics Technique