From: John McCabe <john@nospam.assen.demon.co.uk.nospam>
Subject: Re: Ariane 5 Failure from 1996
Date: Fri, 10 Jul 2009 19:44:31 +0100
Date: 2009-07-10T19:44:31+01:00 [thread overview]
Message-ID: <bt2f55pt0m67ceaiesifrdp80ktsulpbdr@4ax.com> (raw)
In-Reply-To: 4n1f5510eum9c0b53rb1ui111rmgf23fgd@4ax.com
John McCabe <john@nospam.assen.demon.co.uk.nospam> wrote:
>FWIW though, if, as someone else has said, the SRI for A5 used a
>MIL-STD-1750A processor then, as I remember that chip, there is a way
>for arithmetic overflow (i.e. x + y = z where x and y are both
>positive and z is negative) to cause a machine fault interrupt. I
>imagine that this would be disabled in C as it's not a check that
>should be made by the language (forgive me if my memory of
>MIL-STD-1750A is hazy, I haven't used them since 1997).
This is what I was getting at (from MIL-STD-1750A):
5.85 Convert floating point to 16-bit integer.
----------------------------------------
ADDR MODE MNEMONIC FORMAT/OPCODE
---- ---- -------- -------------
8 4 4
----------------------
R FIX RA,RB | E8 | RA | RB |
----------------------
DESCRIPTION: The integer portion of the floating point Derived
Operand, DO
----------- (i.e., the contents of registers RB and RB+1), is stored
into
register RA. If the actual value of the DO floating point exponent
is greater than 0F (Base 16), then RA remains unchanged and a
FIXED POINT OVERFLOW OCCURS. The condition status, CS, is set <<<<<<
based on the result in RA.
Note: The algorithm truncates toward zero.
===============
Fixed point overflow is, I believe, a maskable interrupt.
next prev parent reply other threads:[~2009-07-10 18:44 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-10 14:53 Ariane 5 Failure from 1996 John McCabe
2009-07-10 15:04 ` Martin
2009-07-10 15:09 ` John McCabe
2009-07-10 16:27 ` Hibou57 (Yannick Duchêne)
2009-07-10 18:17 ` John B. Matthews
2009-07-12 14:08 ` Marco
2009-07-12 14:34 ` Dmitry A. Kazakov
2009-07-13 10:03 ` John McCabe
2009-07-14 0:53 ` John B. Matthews
2009-07-14 13:49 ` Nicholas Paul Collin Gloucester
2009-07-14 15:16 ` John B. Matthews
2009-07-14 17:29 ` Nicholas Paul Collin Gloucester
2009-07-14 20:18 ` Ada in teaching (was: Ariane 5 Failure from 1996) Georg Bauhaus
2009-07-14 21:10 ` Adam Beneschan
2009-07-14 22:36 ` John B. Matthews
2009-07-14 23:42 ` Ada in teaching Georg Bauhaus
2009-07-15 1:03 ` (see below)
2009-07-15 15:08 ` John B. Matthews
2009-07-15 15:36 ` John McCabe
2009-07-15 18:28 ` John B. Matthews
2010-01-08 13:19 ` Ariane 5 Failure from 1996 Nicholas Paul Collin Gloucester
2010-01-08 17:34 ` Hibou57 (Yannick Duchêne)
2009-07-10 16:01 ` Bjarne Bäckström
2009-07-14 20:50 ` sjw
2009-07-10 15:26 ` Albrecht Käfer
2009-07-10 15:38 ` Adam Beneschan
2009-07-10 15:45 ` jonathan
2009-07-10 18:29 ` John McCabe
2009-07-10 18:44 ` John McCabe [this message]
2009-07-10 20:10 ` jonathan
2009-07-11 16:54 ` John McCabe
2009-07-14 14:33 ` Nicholas Paul Collin Gloucester
2009-07-14 14:39 ` John McCabe
2009-07-10 19:46 ` Niklas Holsti
2009-07-11 14:21 ` Albrecht Käfer
2009-07-11 16:55 ` John McCabe
2009-07-10 21:51 ` jimmaureenrogers
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox