03.01.2015 Views

80C186EC/80C188EC Microprocessor User's Manual

80C186EC/80C188EC Microprocessor User's Manual

80C186EC/80C188EC Microprocessor User's Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CHAPTER 14<br />

MATH COPROCESSING<br />

The 80C186 Modular Core Family meets the need for a general-purpose embedded microprocessor.<br />

In most data control applications, efficient data movement and control instructions are foremost<br />

and arithmetic performed on the data is simple. However, some applications do require<br />

more powerful arithmetic instructions and more complex data types than those provided by the<br />

80C186 Modular Core.<br />

14.1 OVERVIEW OF MATH COPROCESSING<br />

Applications needing advanced mathematics capabilities have the following characteristics.<br />

• Numeric data values are non-integral or vary over a wide range<br />

• Algorithms produce very large or very small intermediate results<br />

• Computations must be precise (i.e., calculations must retain several significant digits)<br />

• Computations must be reliable without dependence on programmed algorithms<br />

• Overall math performance exceeds that afforded by a general-purpose processor and<br />

software alone<br />

For the 80C186 Modular Core family, the 80C187 math coprocessor satisfies the need for powerful<br />

mathematics. The 80C187 can increase the math performance of the microprocessor system<br />

by 50 to 100 times.<br />

14.2 AVAILABILITY OF MATH COPROCESSING<br />

The 80C186 Modular Core supports the 80C187 with a hardware interface under microcode control.<br />

However, not all proliferations support the 80C187. Some package types have insufficient<br />

leads to support the required external handshaking requirements. The 3-volt versions of the processor<br />

do not specify math coprocessing because the 80C187 has only a 5-volt rating. Please refer<br />

to the current data sheets for details.<br />

The core has an Escape Trap (ET) bit in the PCB Relocation Register (Figure 4-1 on page 4-2) to<br />

control the availability of math coprocessing. If the ET bit is set, an attempted numerics execution<br />

results in a Type 7 interrupt. The 80C187 will not work with the 8-bit bus version of the processor<br />

because all 80C187 accesses must be 16-bit. The 80C188 Modular Core automatically traps ESC<br />

(numerics) opcodes to the Type 7 interrupt, regardless of Relocation Register programming.<br />

14-1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!