
A - 176
DSP96002 USER’S MANUAL
MOTOROLA
FTRAPcc Conditional Software Interrupt
FTRAPcc
Operation:
If cc, then begin software exception processing.
Assembler Syntax:
FTRAPcc
Description:
If the specified floating-point condition is true, normal instruction execution is suspended and software ex-
ception processing is initiated. The interrupt priority level (I1,I0) is set to 3 in the status register if a long
interrupt service routine is used. If the specified condition is false, continue with the next instruction. See
Section A.10 for restrictions. Non-aware floating-point conditions set the SIOP flag in the IER register and
the UNCC bit in the ER register if the NAN bit is set. This action occurs before stacking the status register
when the specified non-aware floating-point condition is true.
"cc" may specify the following conditions:
Non-aware
Mnemonic
Condition
Set UNCC*
EQ
- equal
Z = 1
No
ERR
- error
UNCC v SNAN v OPERR v No
OVF v UNF v DZ = 1
GE
- greater than or equal
NAN v (N & ~Z) = 0
Yes
GL
- greater or less than
NAN v Z = 0
Yes
GLE
- greater, less or equal
NAN = 0
Yes
GT
- greater than
NAN v Z v N = 0
Yes
INF
- infinity
I = 1
Yes
LE
- less than or equal
NAN v ~(N v Z) = 0
Yes
LT
- less than
NAN v Z v ~N = 0
Yes
MI
- minus
N = 1
No
NE(Q)
- not equal
Z = 0
No
NGE
- not(greater than or equal)NAN v (N & ~Z) = 1
Yes
NGL
- not(greater or less than) NAN v Z = 1
Yes
NGLE
- not(greater, less or equal)NAN = 1
Yes
NGT
- not greater than
NAN v Z v N = 1
Yes
NINF
- not infinity
I = 0
Yes
NLE
- not(less than or equal)
NAN v ~(N v Z) = 1
Yes
NLT
- not less than
NAN v Z v ~N = 1
Yes
OR
- ordered
NAN = 0
No
PL
- plus
N = 0
No
UN
- unordered
NAN = 1
No
Note: The operands for the ERR condition are taken from the ER register.
* See the description of the UNcc bit in Section A.4.
CCR Condition Codes: Not affected.
ER Status Bits:
Summary of Contents for DSP96002
Page 3: ...1 2 DSP96002 USER S MANUAL MOTOROLA ...
Page 38: ...MOTOROLA DSP96002 USER S MANUAL 3 15 Figure 3 4 Modulo Arithmetic Unit Block Diagram ...
Page 39: ...3 16 DSP96002 USER S MANUAL MOTOROLA ...
Page 53: ...4 14 DSP96002 USER S MANUAL MOTOROLA ...
Page 76: ...MOTOROLA DSP96002 USER S MANUAL 5 23 Figure 5 8 Address Modifier Summary ...
Page 86: ...6 10 DSP96002 USER S MANUAL MOTOROLA ...
Page 101: ...MOTOROLA DSP96002 USER S MANUAL 7 15 Figure 7 9 HI Block Diagram One Port ...
Page 140: ...7 54 DSP96002 USER S MANUAL MOTOROLA ...
Page 166: ...9 10 DSP96002 USER S MANUAL MOTOROLA ...
Page 181: ...MOTOROLA DSP96002 USER S MANUAL 10 15 Figure 10 8 Program Address Bus FIFO ...
Page 337: ...MOTOROLA DSP96002 USER S MANUAL A 149 ...
Page 404: ...A 216 DSP96002 USER S MANUAL MOTOROLA PC xxxx D ...
Page 460: ...A 272 DSP96002 USER S MANUAL MOTOROLA SIOP Not affected ...
Page 484: ...A 296 DSP96002 USER S MANUAL MOTOROLA SSH PC SSL SR SP 1 SP ...
Page 519: ...MOTOROLA DSP96002 USER S MANUAL A 331 ...
Page 718: ...MOTOROLA DSP96002 USER S MANUAL B 199 ...
Page 871: ... MOTOROLA INC 1994 MOTOROLA TECHNICAL DATA SEMICONDUCTOR M Addendum ...
Page 888: ...MOTOROLA INDEX 1 INDEX ...
Page 889: ......