Article View: comp.lang.modula2
Article #3931Word Size
From: "THE DOCTOR."
Date: Sat, 07 Nov 1987 21:04
Date: Sat, 07 Nov 1987 21:04
13 lines
1312 bytes
1312 bytes
How big is a word? It seems to be common practice to implement INTEGERS
and CARDINALS as 16 bit words, and use LONGINT and LONGCARD for 32 bits.
If you're developing for a 32 bit computer, would it be appropriate to make
INTEGERS and CARDINALS 32 bits and either drop longs or make them 64 bits?
I notice that Wirth writes ~usually 16 bits~ which would seem to indicate
any word size would be appropriate. This would raise some more portability
questions.
My own opinion would be to implement 32 bit integers and such, I just wanted
to hear some other opinions.
Tom Ruby
MSRS002@ECNCDC
Technical Details
Message-ID:
<INFO-M2%87110717121037@UCF1VM>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!rutgers!ames!ucbcad!ucbvax!ECNCDC.BITNET!MSRS002Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!rutgers!ames!ucbcad!ucbvax!ECNCDC.BITNET!MSRS002
From: MSRS002@ECNCDC.BITNET ("THE DOCTOR.")
Newsgroups: comp.lang.modula2
Subject: Word Size
Message-ID: <INFO-M2%87110717121037@UCF1VM>
Date: Sat, 7-Nov-87 16:04:00 EST
Article-I.D.: UCF1VM.INFO-M2%87110717121037
Posted: Sat Nov 7 16:04:00 1987
Date-Received: Tue, 10-Nov-87 03:37:36 EST
Sender: daemon@ucbvax.BERKELEY.EDU
Reply-To: Info-Modula2 Distribution List <INFO-M2%UCF1VM.bitnet@jade.berkeley.edu>
Organization: The ARPA Internet
Lines: 13