avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] Remarks about demo project


From: Dimon Ignatyev
Subject: [avr-libc-dev] Remarks about demo project
Date: Tue, 28 Dec 2004 21:55:14 +0300

1)If i copy the text of the demo project, that included in avr-libs manual, and 
compile and link it EXACTLY as it written, the .elf file is 4,5 KB size, that 
exeed AT90S2313 memory two times!
2) Why do I get 1,2 KB .elf file compilng two-instruction asm program?
#include <avr\io.h>
.global main
main:
sbi 23,4(if I write sbi it says that it needs constant value)
sbi 24,4
.end
I compile it using string:
avr-gcc -x assembler -mmcu=at90s1200 -0s mig.c



reply via email to

[Prev in Thread] Current Thread [Next in Thread]