diff options
author | 2022-07-18 11:19:39 +0700 | |
---|---|---|
committer | 2022-07-18 11:19:39 +0700 | |
commit | acc5ed0b35d2b4f23b1d1c23e99165ed1d5c740c (patch) | |
tree | 36fc26431d2bc2ca61905609f5621001fa186a29 | |
parent | f4347601a070fa8591901a5d092b18dd3d092b3c (diff) |
ns32081: invalid operations generate exceptions
-rw-r--r-- | src/devices/machine/ns32081.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/devices/machine/ns32081.cpp b/src/devices/machine/ns32081.cpp index c158a7e8942..a436a823582 100644 --- a/src/devices/machine/ns32081.cpp +++ b/src/devices/machine/ns32081.cpp @@ -570,7 +570,10 @@ void ns32081_device::execute() m_status |= SLAVE_Q; } else if (softfloat_exceptionFlags & softfloat_flag_invalid) + { m_fsr |= TT_INV; + m_status |= SLAVE_Q; + } else if (softfloat_exceptionFlags & softfloat_flag_inexact) { m_fsr |= FSR_IF | TT_INX; |