Hello!

I want to set a register's bit in PRU assembler like this:

r3.t1 = r29.t0

Is there any way to do this in a one line approach? I have this solution, 
but i am not satisfied with it:

SENDHIGH:
    SET        r3.t1
    LSR        r29, r29, #1
    QBA        INSPECT_DATA
    
SENDLOW:
    CLR        r3.t1
    LSR        r29, r29, #1
    QBA        INSPECT_DATA

INSPECT_PIXELDATA:
    QBBS    SENDHIGH, PIXELDATA.t0
    QBBC    SENDLOW, PIXELDATA.t0

Defining a macro could be an idea, but do you guys know any built-in 
operation, that could do this trick for me?

-- 
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/e9924b70-21a4-4a93-a00d-c7ea9c0e0a33%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to