From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Frank Herold" To: help-gcc@gnu.org Subject: Re: PowerPC Stack Frames Date: Thu, 09 Dec 1999 11:44:00 -0000 Message-id: <82p0o5$6co$1@ssauraaa-i-1.production.compuserve.com> References: <82gpv3$bjn@sirius.develcon.com> X-SW-Source: 1999-12/msg00131.html Try this side: http://www.esofta.com/softspecs.html The PowerPc stack framing is explained in document (2) in detail. Frank Herold E-mail fh@cellware.de Dick Ginther schrieb in Nachricht < 82gpv3$bjn@sirius.develcon.com >... >Hi, > I am using egcs-2.91.66 for a PowerPC. I would like >some help understanding how registers and the stack are used >on PowerPC with GCC. I know that R1 is the stack pointer, but >are there other registers reserved for other purposes? > On an interrupt do I have to save all 32 registers or >are there a sub-set that are usually used. > Thanks in advance. >-- >Dick Ginther E-mail: dick.ginther@develcon.com >Develcon Electronics Ltd. Web: http://www.develcon.com >856 - 51st Street East Phone: 306 931-1339 >Saskatoon, SK Canada S7K 5C7 Fax: 306 931-1352 From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Frank Herold" To: help-gcc@gnu.org Subject: Re: PowerPC Stack Frames Date: Fri, 31 Dec 1999 22:24:00 -0000 Message-ID: <82p0o5$6co$1@ssauraaa-i-1.production.compuserve.com> References: <82gpv3$bjn@sirius.develcon.com> X-SW-Source: 1999-12n/msg00131.html Message-ID: <19991231222400.6k1Za29VCuYYJxF3LaGJJpDXA6zKu8z4NpoTkABXP4g@z> Try this side: http://www.esofta.com/softspecs.html The PowerPc stack framing is explained in document (2) in detail. Frank Herold E-mail fh@cellware.de Dick Ginther schrieb in Nachricht < 82gpv3$bjn@sirius.develcon.com >... >Hi, > I am using egcs-2.91.66 for a PowerPC. I would like >some help understanding how registers and the stack are used >on PowerPC with GCC. I know that R1 is the stack pointer, but >are there other registers reserved for other purposes? > On an interrupt do I have to save all 32 registers or >are there a sub-set that are usually used. > Thanks in advance. >-- >Dick Ginther E-mail: dick.ginther@develcon.com >Develcon Electronics Ltd. Web: http://www.develcon.com >856 - 51st Street East Phone: 306 931-1339 >Saskatoon, SK Canada S7K 5C7 Fax: 306 931-1352