Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!sdd.hp.com!spool.mu.edu!agate!ucbvax!BRFAPESP.BITNET!UNBCIC From: UNBCIC@BRFAPESP.BITNET Newsgroups: comp.lang.forth Subject: Align Message-ID: <9106201300.AA23244@ucbvax.Berkeley.EDU> Date: 19 Jun 91 16:08:00 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: UNBCIC%BRFAPESP.BITNET@SCFVM.GSFC.NASA.GOV Organization: The Internet Lines: 29 => Date: Wed, 19 Jun 91 14:10:18 GMT => From: Nicolas Tamburri => => Subject: RE: Align => I'm always hesitant of posting to this group, having read publications => by many of the other posters, it is hard for me to think of myself as a => peer. For example, I assume there must be something I don't understand NEVER think that way. I think that almost everyone on this group wants to read messages from everyone on this group. => BTW: Alignment to a CELL boundary is not necessarily sufficient, depending => on the processor. For example, the i860 requires address alignment to be => MOD(size of variable), or there is a very high performance penalty on memory => accesses. Yes and no. In the SPARCstation, for example, you also need 4 bytes alignment when reading 32 bits (and 2 bytes when reading 16 bits, but the Forths on SPARCs are usually 32 bits). *BUT*, in Forth you can only read a memory position with @ and C@. So, you only need characters and cells. (8-DCS) Daniel C. Sobral Errare Humanum Est... UNBCIC@BRFAPESP.BITNET ...Perseverare Autem Diabolicum UNBCIC@FPSP.FAPESP.ANSP.BR -------------------------------------------------------------------------- No one, but me, is responsible for the above message.