Hi,
suppose I have two 16bit coefficients (c1=0x11, c2=0x22) packed in one register, r0 = 0x00110022. Now I only want to invert the sign of the top halfword so that r0 = 0xFFEF0022.
Is there an way to do this?
I guess I can do something like
------------------ qadd16 r1, r0, r0 @r0 *= 2 movt r1, #0 qsub16 r0, r1, r0
------------------ but this looks stupid.
Thanks syl