First I apologize if the question is too simple but I have never written any assembly before for the Due. I need a function that can use the ROR instruction (rotate right) available in the Thumb-2 instruction set on the Cortex processor. I thought that by using __ROR I would have access to it but I dont.
*dataBytes = *dataBytes + __ROR((*s0 & m),32+b);
Basically I need to rotate the resulting int after the *s0 & m operation by 32+b bits and sum it up.
How can I create this code in my program?