From mboxrd@z Thu Jan 1 00:00:00 1970 From: dickg@develcon.com (Dick Ginther) To: help-gcc@gnu.org Subject: PowerPC Stack Frames Date: Fri, 31 Dec 1999 22:24:00 -0000 Message-ID: <82gpv3$bjn@sirius.develcon.com> X-SW-Source: 1999-12n/msg00085.html Message-ID: <19991231222400.CEe6mQHhqKtydOgB5G0BeVmoTgPo1Z2P5o4xYOMDWMs@z> 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