From: Sanjiv K. G. N. <sa...@no...> - 2002-06-03 11:54:31
|
I agree that its not complete. I also see that it generates wrong code. e.g for code like below void func (unsigned char ); main() { unsigned char i,j; j = !i; func(j); } sdcc -mavr -S generates _main: push r2 ; test2.c 5 movw r30,r28 sbiw r30,0xfffffffe clr r24 sbiw r30,0 ld r24,z cpse r24,r24 ==> this is wrong i suppose ldi r24,1 L00003: mov r2,r24 ; test2.c 7 mov r16,r2 call _func L00001: pop r2 Regards Sanjiv -----Original Message----- From: Jon McClintock [mailto:ja...@we...] Sent: Wednesday, May 29, 2002 7:35 PM To: Royce & Sharal Pereira Cc: SDCC Subject: Re: [Sdcc-user] SDCC for AVR On Wed, May 29, 2002 at 06:42:31PM +0530, Royce & Sharal Pereira wrote: > Can I safely use SDCC 2.3.1 for Atmel AVRs (AT90S2313)? > > The processor selection documentation says "in development, not complete." I would strongly suggest you use avr-gcc; it's a much nicer toolchain. -Jon _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ Sdcc-user mailing list Sdc...@li... https://lists.sourceforge.net/lists/listinfo/sdcc-user |