论文部分内容阅读
本文首先对表格法函数值的近似计算和数据线性化方面的应用作了简单介绍.并对微型机中常用的二种搜索表格方法——线性搜索法和对分搜索法进行了比较。文章提出了更适用于某些过程检测的跟踪搜索法。较详细地介绍了跟踪搜索法的基本思想及使用条件,并与线性搜索法、对分搜索法进行了比较。文中还给出了相应的程序基本流程图和用Z80汇编语言编写的搜索子程序。
In this paper, we first introduce the approximate calculation of tabular function values and the application of data linearization, and compare the two search form methods commonly used in microcomputers - linear search method and binary search method. The article proposes a tracking search method that is more suitable for some process detection. The basic idea and conditions of the tracking search method are introduced in detail, and compared with the linear search method and the binary search method. The article also gives the corresponding program flow chart and Z80 assembly language to write the search subroutine.