I have been trying to run inline assembly on Beaglebone black. I used 
example from this tutorial 
<http://www.ethernut.de/en/documents/arm-inline-asm.html> and my code is 
here

void main(void) { asm("mov r0,r0"); }

But when I run with gcc

gcc helloworld.c -o helloworld

gcc returns:

Error: too many memory references for `mov'

My gcc version is:

GCC: gcc (Debian 4.6.3-14) 4.6.3







-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to