Why are you moving R0 to R0?
From: "[email protected]" <[email protected]>
To: BeagleBoard <[email protected]>
Sent: Saturday, October 17, 2015 11:19 AM
Subject: [beagleboard] Inline assembly on Beaglebone.
I have been trying to run inline assembly on Beaglebone black. I used example
from this tutorial 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.
--
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.