#include <avr/io.h> void main(void) { unsigned long long total; //uint64_t total; //uint32_t total;
total=PORTB; PORTB=total*11/5%10; } With 'uint32_t total=0;' binary file size is 314 bytes. With 'unsigned long long total;' or 'uint64_t total;' binary file size is 7974 bytes :(. -- Encrypt emails. My GPG key is on public key servers. _______________________________________________ AVR-libc-dev mailing list AVR-libc-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/avr-libc-dev