JCL Help:SetMasked8087Exceptions

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Sets the FPU exception mask.


Pascal

 function SetMasked8087Exceptions(Exceptions: T8087Exceptions; ClearBefore: Boolean = True): T8087Exceptions;


Return Value

The result is the exception mask before it was modified.


Exceptions

Set of exceptions to mask. ClearBefore - If set to True the routine clears pending exceptions, if any, before modifying the exception mask. This is the default behavior. If set to False the routine does not clear pending exceptions.


Description

The SetMasked8087Exceptions routine sets the masked exception flags of the FPU's control word. In effect this means that afterwards the FPU no longer raises an exception of the kind included in the Exceptions parameter, instead it ignores the error situation. Note that by default exceptions previously masked are cleared if they do not appear in the Exception parameter.


See Also

T8087Exceptions GetMasked8087Exceptions Unmask8087Exceptions Mask8087Exceptions


About

Unit

Jcl8087


Donator

Robert Rossmair


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page