CMM2: CSUB BitOrderReverse

Author Message

Joined: 11/12/2012
Location: United Kingdom
Posts: 8674
Posted: 01:13pm 10 Sep 2020      

If you want it really fast then there is an ARM instruction to reverse the bit order in a word RBIT. You will need to include it as an ASM clause in the C source