(Arhg.. sorry about the 2nd copy, Mike) At 02:38 PM 6/28/01 +0100, you wrote: > Is there any way to explicitly do this ? Offhand, I don't think so. At least not using standard C alone. You are really trying to outsmart the compiler. I suggest you either inline the code (using more ROM space) or using a static variable and live with the 2 bytes (using more RAM space) that can't be overlayed- your code will be more portable and future versions of the compiler may optimize better. Best regards, =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Spehro Pefhany --"it's the network..." "The Journey is the reward" speff@interlog.com Info for manufacturers: http://www.trexon.com Embedded software/hardware/analog Info for designers: http://www.speff.com Contributions invited->The AVR-gcc FAQ is at: http://www.bluecollarlinux.com =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.