Tool/software: TI C/C++ Compiler
Hi,
I want to make use of the byteswap instruction of the TM4C129 /CortexM4 device. I know in assembler this could be done with an gcc- code as follows:
inline uint32_t Rev16(uint32_t a) { asm ("rev16 %1,%0" : "=r" (a) : "r" (a)); return a; }
I cannot find how to translate this to valid Syntax using the TI Compiler for the TM4C Device. Any help is welcome.
Regards
Micky