摘要
单片机上使用的农历算法通常以汇编语言编写,不便移植和扩展,而且占用很多的存储空间。针对PIC系列单片机,使用C语言设计农历算法程序,在数据结构、程序语法上根据实践经验加以优化,程序具有很好的可移植性和可扩展性,节省了近三分之一的存储空间。
The compiled by assembly lunar calendar algorithm using on single-chip microcomputer is usually language, which is inconvenient for transplant and expansion, and occupies many storage spaces. By applying the C programming language to design the lunar calendar algorithm procedure of single-chip microcomputer and to optimize the construction of data and the procedure grammar, the procedure has very good probability and expansibility, and can save nearly 1/3 storage space.
出处
《闽西职业技术学院学报》
2014年第1期110-113,共4页
Journal of Minxi Vocational and Technical College