This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: BCPL compiler with GCC
Joseph S. Myers writes:
> On Wed, 22 Oct 2003, Andrew Haley wrote:
>
> > Addresses are always word addresses, aren't they? I suppose you'd end
> > up with something like
> >
> > !B mapping onto *(word *)(b * sizeof word)
>
> Remember that it might be more efficient, when implementing BCPL on
> byte-addressed machines, to make adjustments for arithmetic rather than
> for pointer dereferencing. See the discussion at the end of
> <http://www.lysator.liu.se/c/clive-on-history.html>.
Well, Clive Feather suggests it might be a nice idea. It is a nice
idea -- I don't know if anyoe's ever tried it!
Oh dear, we're off topic now...
Andrew.