Due to the size of sts instructions, it's actually fewer bytes to memset(&somelong, 0, sizeof(long)). The memset is 12 bytes (count, hi, lo, sts, dec, loop, all 2 bytes) vs 16 for 4 straight sts's. If you're doing more than one variable of course the savings are bigger.
-- Ben Jackson <[EMAIL PROTECTED]> http://www.ben.com/ _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list