From mboxrd@z Thu Jan 1 00:00:00 1970 From: Philip O'Toole To: "'gcc-help@gcc.gnu.org'" Subject: Restricting register usage Date: Mon, 10 Sep 2001 17:19:00 -0000 Message-id: X-SW-Source: 2001-09/msg00044.html Hi, I'm using the ppc-4xx version of GCC and GAS. Can someone please direct as how I restrict the registers that the compiler uses. I'd like it to just use registers r0-r7 and r24-r31. I assume I use some sort of compiler/assembler directive. Thanks, Philip. __________________________________ Philip O'Toole, Software Engineer, SkyStream Networks, 455, DeGuigne Drive, Sunnyvale, California 94086-3835, United States of America. Building networks without limits. +1 (408) 616-3143 potoole@skystream.com http://www.skystream.com