[Tinyos-help] FW: assembly & nesC
Michael Schippling
schip at santafe.edu
Sun Nov 16 11:35:03 PST 2008
hmm, just tried to put your line into one of my files and got similar results:
/tmp/ccB8qCt9.s: Assembler messages:
/tmp/ccB8qCt9.s:6800: Warning: expression possibly out of 8-bit range
/tmp/ccB8qCt9.s:6800: Error: garbage at end of line
make: *** [exe0] Error 1
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...do you also get the range warning? That
might be the real problem.
I've got:
nescc: 1.2.7a
gcc version 3.3.3 (cygwin special)
MS
stefano starita wrote:
> First of all thank you for the suggestions.
> I've tried every possible combinations but I still have the errors
> "garbage at the end of the line",
> " ',' required" and "bad expression". I've tried also to embed the
> assembly code of crc.h but the result is the same.
>
> > Date: Sun, 16 Nov 2008 11:13:05 -0700
> > From: schip at santafe.edu
> > To: sihtu at hotmail.it
> > CC: tinyos-help at millennium.berkeley.edu
> > Subject: Re: [Tinyos-help] FW: assembly & nesC
> >
> > Just a couple suggestions ...
> > Compare your usage with some existing ones.
> > I found one in tinyos-1.x/tos/platform/avrmote/crc.h where there is
> > no \n\t at the end of the asm() string.
> >
> > It's also possible that the embedded newline between your mnemonic
> > strings is causing trouble. You could try putting them into one
> > string.
> >
> > MS
> >
>
>
> ------------------------------------------------------------------------
> Scarica gratis Messenger Beta! Portati avanti.
> <http://download.live.com/messenger/?mkt=it-it>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
--
Platform: WinXP/Cygwin
TinyOS version: 1.x, Boomerang
Programmer: MIB510
Device(s): Mica2, MicaZ, Tmote
Sensor board: homebrew
More information about the Tinyos-help
mailing list