[Tinyos-help] FW: NesC and inline Assembly

Bradley, Ian D. idbradley at nsu.edu
Fri Mar 18 09:07:49 PST 2005

I am writing inline Assembly inside of NesC. I am having a problem passing
pointers to the Assembly.


int8_t * ptr;

asm (
"ld R20, %0"
: "e" (ptr)

I keep getting an errors saying invalid or impossible constraint. I tried
using constraints x,y, and z. I also tried using %a0, to indicate which
register, but I still get the same error. 

Ian D Bradley
idbradley at nsu.edu

More information about the Tinyos-help mailing list