论文部分内容阅读
一、前言单板机,特别是Z80单板机,作为一种“智能”部件,近年来在我国正广泛地应用于生产过程控制、各种仪器、仪表的自动测试,以及数据处理、监测、管理、数控等。在这些仪表、仪器或装置中,常常采用七段数字显示器显示其监视测试数据的量值大小。为提高数值显示精度,用浮点表示监测的数值是比较理想的。下面,我们在TP801单板机基础上,以实现浮点显示五位有效数值为例,详细介绍利用七段数字显示器实现数值浮点显示的基本思想以及软硬件设计。
I. INTRODUCTION The single-board computer, especially the Z80 single-chip computer, has been widely used in the production process control, automatic testing of various instruments and instruments in our country in recent years as well as data processing, monitoring, Management, CNC and so on. Of these meters, instruments or devices, seven-segment digital displays are often used to show the magnitude of their monitoring test data. In order to improve the numerical display accuracy, it is ideal to use float to represent the monitored value. Now, on the basis of the TP801 single board computer, taking the realization of five effective values of floating point as an example, we introduce in detail the basic idea and software and hardware design of using numerical display of seven segments to realize numerical floating point display.