[fpc-pascal] Reversing bit-order of byte

Koenraad Lelong fpascal at brouwerij.homelinux.net
Thu May 3 11:39:35 CEST 2012

On 03-05-12 10:45, Ludo Brands wrote:
> You might also look into the RBIT instruction which does this in one cpu
> cycle. See
> http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0489c/Cihjgdi
> d.html and applied to the STM32 USART
> http://forum.micromouseonline.com/viewtopic.php?f=7&t=460
> Ludo

Thanks all for your replies.
I already found the RBIT-instruction. I also found out I need to study 
the arm assembly language ;-)

But how do I get my variable ? Is that in some register ? Is there any 
documentation about such things ? Then I can use inline assembly.


Koenraad Lelong.

More information about the fpc-pascal mailing list