本文主要从单片机软件实现角度介绍一种公历到农历转换的算法思想, 算法采用MCS-51 指令系统实现。并给出程序流程图,另外对二十四节气和生肖的算法也做详细介绍。关键词:单片机;MCS-51 指令系统Abstract: This paper introduces the realization and algorithm of the transform between Gregorian calendar and lunar calendar based on the single chip microcomputer. The algorithm adopt MCS-51 instruction repertoire. The main program flow chart is given. Also the algorithms about twenty-four solar terms and twelve animal year names are described in detail.Key words: single chip microcomputer; MCS-51 instruction repertoire
猜您喜欢
推荐内容
开源项目推荐 更多
热门活动
热门器件
用户搜过
随便看看
热门下载
评论