|Sparc's windowing email@example.com (1992-04-19)|
|Re: Sparc's windowing Nand.Mulchandani@Eng.Sun.COM (1992-04-20)|
|From:||Nand.Mulchandani@Eng.Sun.COM (Nand Mulchandani)|
|Organization:||Sun Microsystems, Inc.|
|Date:||Mon, 20 Apr 1992 17:04:31 GMT|
firstname.lastname@example.org (Marcel Achim) writes:
|> I'm porting a modula-2 compiler to the sparc and I'm having some
|> difficulties with the Stack pointer, ...
The stack pointer (%sp) must always be doubleword-aligned. When you are
doing things like sub %sp,4,%sp, you are breaking this rule. Although I
don't know the exact problem that you are facing, this could be one of
them. I would also wonder about why you are enlarging the frame using a
"sub" instruction when the "save" instruction does this work for you ?
Hope this helps.
Return to the
Search the comp.compilers archives again.