From: "Marin David Condic" <dont.bother.mcondic.auntie.spam@[acm.org>
Subject: Re: 64-bit integers in Ada
Date: Thu, 1 Aug 2002 09:07:54 -0400
Date: 2002-08-01T13:07:52+00:00 [thread overview]
Message-ID: <aibbr8$4ie$1@nh.pace.co.uk> (raw)
In-Reply-To: slrnakhqa5.ok.lutz@taranis.iks-jena.de
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1680 bytes --]
Its been a while since I've seen a C compiler for a 6502, but my
recollection is that the last one I did look at had 16 bits for the type
int. Please correct me if I'm wrong here - have you seen C compilers for
this target using 8 bits for the type int? My thinking here is that even for
guys programming small computers, an int or Integer being required to
support at least 16 bits, is a useful constraint even if it has to be
simulated with software. Guys programming 6502's still need to frequently
count things well above +/-128 and int or Integer are the customary, handy
counter that you'd like to have some asurance will accommodate some useful
range.
That's why I wouldn't object to the standard requiring that an
implementation support at least 16 bits - even for small machines. People
expect it. Going the other direction (requiring support for 64 bits or 128
bits or unlimited bits) is a different situation in that this might become
an unreasonable burden on a compiler for a small target. (I'd certainly
consider it desirable that it be "permissable" - just not "required")
MDC
--
Marin David Condic
Senior Software Engineer
Pace Micro Technology Americas www.pacemicro.com
Enabling the digital revolution
e-Mail: marin.condic@pacemicro.com
"Lutz Donnerhacke" <lutz@iks-jena.de> wrote in message
news:slrnakhqa5.ok.lutz@taranis.iks-jena.de...
>
> Integer ist expected to be the size of the maschine word. Now choose a
6502
> or similar �P. If you need a certain range of countable numbers, define
your
> own type. But do not insist on types the maschine can not handle
efficiently.
> Ada requires native support for all native maschine types anyway.
next prev parent reply other threads:[~2002-08-01 13:07 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-16 11:27 64-bit integers in Ada David Rasmussen
2002-05-17 2:28 ` Robert Dewar
2002-05-17 13:56 ` Mark Johnson
2002-07-29 15:33 ` Victor Giddings
2002-07-29 20:15 ` Robert A Duff
2002-07-30 18:35 ` Richard Riehle
2002-07-30 20:20 ` Robert A Duff
2002-07-31 0:13 ` Robert Dewar
2002-07-31 4:17 ` Keith Thompson
2002-07-31 8:41 ` Larry Kilgallen
2002-07-31 13:20 ` Robert A Duff
2002-07-31 13:42 ` Marin David Condic
2002-08-01 7:54 ` Lutz Donnerhacke
2002-08-01 13:07 ` Marin David Condic [this message]
2002-08-02 7:31 ` Lutz Donnerhacke
2002-08-02 13:21 ` Marin David Condic
2002-08-03 12:24 ` Robert Dewar
2002-08-03 18:59 ` Richard Riehle
2002-08-04 6:12 ` Chad R. Meiners
2002-08-04 14:07 ` Robert Dewar
2002-08-05 2:28 ` Richard Riehle
2002-08-11 15:32 ` Simon Wright
2002-08-13 21:14 ` Randy Brukardt
2002-08-04 18:00 ` Larry Kilgallen
[not found] ` <5ee5b646.0208040607.ebb6909@posting.googOrganization: LJK Software <PG2KS5+doDWm@eisner.encompasserve.org>
2002-08-05 1:44 ` Robert Dewar
2002-08-05 1:48 ` Robert Dewar
2002-08-05 11:40 ` Marc A. Criley
2002-08-05 14:40 ` Pat Rogers
2002-08-05 2:34 ` Richard Riehle
2002-08-11 21:56 ` Robert A Duff
2002-08-13 21:09 ` Randy Brukardt
2002-08-18 1:01 ` AG
2002-08-20 0:15 ` Robert Dewar
2002-08-02 8:37 ` Fraser Wilson
2002-08-02 12:54 ` Frank J. Lhota
2002-08-01 11:57 ` Larry Kilgallen
2002-08-01 17:53 ` Ben Brosgol
2002-08-01 20:32 ` Keith Thompson
2002-07-31 21:50 ` Keith Thompson
2002-07-31 21:59 ` Robert A Duff
2002-07-30 4:29 ` Robert Dewar
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox