• Procedure for swapping bits in R0
    Good day! Can someone check my code for mistakes? And, if there are mistakes, help me to fix it. This procedure should swap bits in R0 and be 'effective'. //'n' is bit, that procedure should swap...
  • 32 Bit swap algorithem
    Hi, I'm using LPC4088 (Cortex M4) and I need to swap uint32_t on the bit level. I have a chip that transfer data 32bits (with SSP) with Lsb first - so I have to swap the result in my code. Because...
  • swap equivelant.
    Hi, Is there an equivelan function or keyword to "swap"? Is there anyway to get the high or lower nibbles of a variable or swap them in C? any help would be appreciated. -=N
  • Endian Swap
    Hi, Is there any ARM inline function to switch between Little and Big Endian ? I know the Keil feature to compile the whole code in BE or LE, but i would like any function to swap just some words...
  • Endianess Swapping
    I'm trying to port some code currently being compiled by gcc that uses the __builtin_bswapXX functions. Is there an equivalent in ARM C6 or will I need to provide it myself?