[net.unix-wizards] C Compiler question

greg (11/10/82)

Idle hands are the devil's playthings, so as of late I've been trying to
understand the workings of the portable C compiler.  I've just got started
and am looking at the template matching, and how expand gets things for calling
the machine dependent routines.  My question concerns templates...

The first template of the VAX table.c file returns the rewriting rule of RESC1.
What does this mneumonic mean???  I see it used in other templates that have
resource requirements of scratch or A registers and whose assembler output
leave the result in A1.

I see that expand calls adrput( getlr( p, *++cp)).  I see that getlr returns
the first register ( from A1 above) and that adrput while output it.  

I see RESC1 used in rewrites that required calls to zzzcode also.  Is it
that ZA expansions (and the rest) leave its result in R0, etc...

I think it sounds like I don't know if I know what I'm talking about and if I
have even answered my own question...it's been a long day....

Please mail any comments...thanks in advance....

					ncrday!greg