Hi,
Le Sunday 16 November 2008 20:57:09 stefano starita, vous avez écrit :
...
> I show you a part of the
> program so you can tell me maybe something more:
>
> asm("LDI R16,HIGH(RAMEND)\n"
...
> "CLR R14\n"
> "NOP"
> );
well according to avr-libc documentation
( at http://www.nongnu.org/avr-libc/user-manual/inline_asm.html )
you are expected to write your asm as:
"Each asm statement is divided by colons into (up to) four parts:
...
asm(code : output operand list : input operand list [: clobber list]); "
looks like at least two colons are required.
maybe it's not your problem but at least it works for me form inside nesc
code ...
> > From: [EMAIL PROTECTED]
> > To: [EMAIL PROTECTED]
> > Of course the system helped me by removing the temp .s file so I can't
> > look at it. Perhaps there is some way to get it to keep the file. I'd
> > try to figure that one out...
you want gcc option "-save-temps".
I don't really remember if you can use it as "CFALGS=-save-temps make micaz "
or from the actual build that fails with running "CFALGS=-v make micaz " then
spotting the exact gcc command line and typing it again with the save-temps
option
To my experience having a look at the temp asm file often really helps to find
the error ...
Cheers
Aurélien
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help