Yes exactly that is the problem. What should work is the OR operator, 
combining the two registers:

r29:  0010 0000
r0:    0000 0001

When performing a LSL on r0:

r0:    0000 0010

and combining the two with the OR operation r29 becomes:

r29:  0010 0010

but anyways this takes too long for my usecase.
I might need to play around with what I've got in the code already, because 
it is working, but i wanted a "nicer" solution.

Am Sonntag, 22. Mai 2016 19:34:43 UTC+2 schrieb Charles Steinkuehler:
>
> On 5/22/2016 11:13 AM, TJF wrote: 
> > But, does this simple solution don't work? 
> > | 
> > MOV r29.t1,r0.t0 
>
> The smallest value the MOV instruction will work with is a byte. 
>
> See "Syntax Terms and Definitions", section 5.3.2.5.6 of the PRU 
> Reference Guide (SPRUHF8).  The MOV instruction works with any 
> register field from 8 to 32 bits, but not with single bits. 
>
> -- 
> Charles Steinkuehler 
> [email protected] <javascript:> 
>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/d8b4407c-fcf7-4aa6-aa44-bfe3b97337a3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to