its a simple nop
On 10/17/2015 10:00 AM, 'Mark Lazarewicz' via BeagleBoard wrote: > 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 > <http://www.ethernut.de/en/documents/arm-inline-asm.html> and my code > is here > > | > | > voidmain(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 (Debian4.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] > <mailto:[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] > <mailto:[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.
