Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.compilers > #1616

Re: 8-bit processor specific techniques for Ada

From Luke A. Guest <laguest@archeia.com>
Newsgroups comp.compilers
Subject Re: 8-bit processor specific techniques for Ada
Date 2015-09-27 23:04 +0100
Organization Aioe.org NNTP Server
Message-ID <15-09-021@comp.compilers> (permalink)
References <15-09-019@comp.compilers>

Show all headers | View raw


lucretia9@lycos.co.uk <laguest9000@googlemail.com> wrote:

> [There are plenty of compilers for 8 bit machines, particulary at
> retrocomputing sites, but I don't recall a lot of interesting code
> generation stuff.  They tend to have so few registers and be so
> irregular that little of the optimization stuff intended for code
> generation applies. -John]

What I've seen seems to be ad hoc stuff with code gen going done in a pass
or two. This is fine for simple languages like pascal and c, but I'm doing
Ada, so it really needs to be fairly aggressive.

Luke
[I'd think the aggressive stuff would be largely machine independent,
figuring out what's a constant so it can do stuff at compile time
rather than in the code.  Once you've done that, adding two numbers
together or deferencing a pointer is pretty much the same in any
language. -John]

Back to comp.compilers | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

8-bit processor specific techniques "lucretia9@lycos.co.uk" <laguest9000@googlemail.com> - 2015-09-27 07:30 -0700
  Re: 8-bit processor specific techniques for Ada Luke A. Guest <laguest@archeia.com> - 2015-09-27 23:04 +0100
  Re: 8-bit processor specific techniques BGB <cr88192@hotmail.com> - 2015-09-27 17:34 -0500
  Re: 8-bit processor specific techniques Walter Banks <walter@bytecraft.com> - 2015-09-28 11:04 -0400
    Re: 8-bit processor specific techniques "lucretia9@lycos.co.uk" <laguest9000@googlemail.com> - 2015-09-29 10:55 -0700
      Re: 8-bit processor specific techniques BGB <cr88192@hotmail.com> - 2015-09-29 20:06 -0500

csiph-web