摘要
通过对MCS-51单片机指令系统的分析,给出了单片机多分支程序的转移指令法和查表法实现,着重分析了查表法中分别使用地址偏移量表、转移指令表和地址表实现多分支程序的特点和局限性,探讨了扩展分支的方法和示例.
The instructions of MCS-51 Single Chip Microcomputer have been analyzed. Then several methods of multi-branch programmer have been devised by using transfer jump instruction and by using look-up table. The look-up table technique has been studied and analyzed the characteristic and limitation by use of address table, address offset table and transfer jump instruction table. The corresponding method of expanding branch has also been introduced. Some relevant examples are given.
出处
《渭南师范学院学报》
2009年第2期36-39,共4页
Journal of Weinan Normal University
关键词
MCS-51单片机
多分支程序
查表程序
MCS-51 single chip microcomputer
multi-branch programmer
lookup table programmer