论文部分内容阅读
从原则上讲,微处理机的中央处理单元 CPU 可以完成各种运算。然而实际上,除了简单的加减法和逻辑操作之外,一般运算都需要很长的过程。近来,随着微处理机的发展和完善,出现了专用的运算处理单元 APU。它是一个复杂的、完善的、高性能和高速度的独立单元。它是为提高微处理机运算能力而设计的。它不但能进行定点的而且还能进行浮点的运算。它不仅能完成四则运算,而且还能完成全套的超越函数运算。另外,它还具有控制和变换功能。CPU把数据与运算指令送给 APU 之后,便可中断,并等待 APU 运算的完成。这种程序极易编写。本文以 Am9511型器件为例,介绍了 APU 的结构及其指令系统。最后,从编写者写过的实用程序中摘录一段,作为对 APU 运算程序编写的实例和说明。
In principle, the microprocessor’s central processing unit CPU can perform a variety of computations. In practice, however, the general operation takes a long time, except for simple addition and subtraction and logic operations. Recently, with the development and improvement of microprocessors, a special arithmetic processing unit APU has appeared. It is a complex, sophisticated, high-performance and high-speed stand-alone unit. It is designed to improve the computing power of microprocessors. It not only fixed-point but also floating-point operations. It can not only complete the four operations, but also complete a full set of transcendental function operations. In addition, it also has control and transformation functions. After the CPU sends the data and operation instructions to the APU, it can be interrupted and wait for the completion of the APU operation. This program is very easy to write. This text takes Am9511 type device as examples, introduced the structure of APU and its instruction system. Finally, extract a section from the utility written by the author as an example and description of the APU operation.