Olin Lathrop wrote: > Oh grow up Gerhard. Huh? > For whatever reason you objected to those Where in the world do you get this from? > I thought you wanted to know whether compilers would optimize a empty > subroutine to a single return instruction. You thought wrong. I didn't want to know anything. You really don't have to go out of your way to help me poor lonesome. Here's where this subthread started (since you don't seem to remember any of this): >>> but in general, on 8-bit micros, a function call without arguments is a >>> simple call statement and a return from a void function is a simple >>> return. >> >> This is definitely not true of C18, and not true of C30 with the >> default settings. > > I'm not using them; there may be a reason :) I never objected to your examples, but you seem to have a problem with something. The only thing is that they don't affect my statement... C30 is not for 8-bit micros, and C18 seems to be an oddity in this respect in the wide world of C (and Pascal) compilers for 8-bit micros. So what's your problem? Gerhard -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist