摘要
本文对MCS—48单片机指令系统,特别是表格索引指令进行了必要的分析,运用多种寻址方式的巧妙配合,得出了这种单片机处理宽范围表格的方法——分级式查表法。这种方法不仅扩大了MCS—48单片机的索引范围,同时也提高了该种单片机对表格索引的灵活性,文章对“分级式查表法”的原理、要点作了详细介绍,最后给出了流程图及应用程序。
In this paper, some necessary analyses were made for the instruction system of MCS—48 single chip microcomputer, especially its list instruction. The method for wide area list processed by this kind of single chip microcomputer the fractional search list method was obtained by the clver coordination of multiple addressing methods. This method not only extended MCS-48 system index area but also increased the flexibility of index. The author also introducd the principle of Fractional Search in detail, and presented the flowchard and application program.