|compiling for mips environment firstname.lastname@example.org (simon) (1999-06-27)|
|Re: compiling for mips environment email@example.com (Zalman Stern) (1999-06-29)|
|Re: compiling for mips environment firstname.lastname@example.org (James Jones) (1999-06-29)|
|Re: compiling for mips environment email@example.com (Chris Dodd) (1999-06-29)|
|Re: compiling for mips environment firstname.lastname@example.org (Matt Postiff) (1999-07-01)|
|Re: compiling for mips environment email@example.com (Michael Meissner) (1999-07-11)|
|Date:||27 Jun 1999 00:00:36 -0400|
|Organization:||Telstra BigPond Internet Services (http://www.bigpond.com)|
|Keywords:||Java, code, question, comment|
I wonder if someone can help me with design problem I have compiling
Java bytecode into mips R3000 environment.
It seems stack usage convention for mips in C environment dictate
caller reserve space in stack for routine to save arguments a0..a3 if
it needs to.
I don't understand this convention, is this standard for risc
I have decided to follow register usage convention which gives me
"temp" registers and "saved" registers, saved ones are preserved
across function calls.
This seems an OK convention but I can't get a grip on why parameters>4
are pushed on the stack with so many registers spare.
I have only one text, "Farquhar & Bunce", and can't find any relevant
Greatful for any pointers/ explanations...
[It's pretty standard. Most routines don't have more than four arguments,
so it'd be counterproductive to reserve argument registers that won't
be used, -John]
Return to the
Search the comp.compilers archives again.