EMBEDDED Intel486™ PROCESSOR HARDWARE REFERENCE MANUAL
4-48
To process a floating-point error in the DOS environment, the following sequence must take
place:
1.
The error is detected by the IntelDX2 and IntelDX4 processor that activates the FERR#
pin.
2.
FERR# is latched so that it can be cleared by the OUT F0 instruction.
3.
The latched FERR# signal activates an interrupt at the interrupt controller. This interrupt
is usually handled on IRQ13.
4.
The Interrupt Service Routine (ISR) handles the error and then clears the interrupt by
executing an OUT instruction to port F0. The address F0 is decoded externally to clear the
FERR# latch. The IGNNE# signal is also activated by the decoder output.
5.
Usually the ISR then executes an FNINIT instruction or other control instruction before
restarting the program. FNINIT clears the FERR# output.
Figure 4-36
illustrates a sample circuit that performs the function described above. Note that this
circuit has not been tested and is included as an example of required error handling logic.
Note that the IGNNE# input allows non-control instructions to be executed prior to the time the
FERR# signal is reset by the IntelDX2 and IntelDX4 processors. This function is implemented
to allow exact compatibility with the AT implementation. Most programs re-initialize the Float-
ing-Point Unit (FPU) before continuing after an error is detected. The FPU can be re-initialized
using one of the following four instructions: FCLEX, FINIT, FSAVE and FSTENV.
Содержание Embedded Intel486
Страница 16: ......
Страница 18: ......
Страница 26: ......
Страница 28: ......
Страница 42: ......
Страница 44: ......
Страница 62: ......
Страница 64: ......
Страница 138: ......
Страница 139: ...5 Memory Subsystem Design Chapter Contents 5 1 Introduction 5 1 5 2 Processor and Cache Feature Overview 5 1 ...
Страница 140: ......
Страница 148: ......
Страница 150: ......
Страница 170: ......
Страница 172: ......
Страница 226: ......
Страница 228: ......
Страница 264: ......
Страница 282: ......
Страница 284: ......