Restricting register usage

Philip O'Toole philip.otoole@skystream.com
Mon Sep 10 17:19:00 GMT 2001


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



More information about the Gcc-help mailing list