I need to flip/reverse the bytes in a 4-byte word, for the purpose of displaying it on LED display.
Apparently there is one simple instruction to accomplish this, but I was unable to find it anywhere.
I need to flip/reverse the bytes in a 4-byte word, for the purpose of displaying it on LED display.
Apparently there is one simple instruction to accomplish this, but I was unable to find it anywhere.
nor?
Edit:
Can't seem to find a 32-bit byteswap instruction, but can you byteswap the halfwords and then swap the halfwords?