|
From: | Bernhard Kuemel |
Subject: | [avr-libc-dev] long long bloats binary |
Date: | Fri, 09 Nov 2012 09:21:15 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.24) Gecko/20111120 Icedove/3.1.16 |
#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.
[Prev in Thread] | Current Thread | [Next in Thread] |