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
`