| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: [C] word sizes |
From: Bob Stout
Quoting Winston.Smith!1.323.120.0{at}filegate.net:
> -> defined by minima and maxima. A "word" is not a formal
integral type
> -> in the standard. In most implementations, a word is 16 bits. More
> -> problematic is an int which is typically 16 bits on 8- and 16-bit
> -> architectures, or 32 bits on 32-bit or larger architectures.
>
> Hmm... interesting. I was always under the impression that a "word"
> was the smallest atom in a "page" when swapping was done, i.e. the
> smallest and fastest "fetch thingie" that the data bus could handle,
> sometimes called "A Memory Cell" or "A Location" ?
What you describe is an int, described as: "A 'plain' int object has the natural
size suggested by the architecture of the execution environment[...]"
(sec 6.2.5). Neither "word" nor "page" are defined in
the C standard. I'm not sure about Posix since I don't have a copy of that
here at the office.
-------------------------------------------------------------
Consulting: http://www.MicroFirm.biz/ Web graphics development:
http://Image-Magicians.com/ Software archives:
http://snippets.snippets.org/
c.snippets.org/ cpp.snippets.org/ java.snippets.org/
d.snippets.org/ python.snippets.org/ perl.snippets.org/
dos.snippets.org/ embedded.snippets.org/ apps.snippets.org/
Audio and loudspeaker design:
http://LDSG.snippets.org/ http://www.diyspeakers.net/
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
--- BBBS/LiI v4.01 Flag-5
* Origin: Prism bbs (1:261/38)SEEN-BY: 633/267 270 @PATH: 261/38 123/500 106/2000 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.