28.2.60 __builtin_swap_byte
Description
For a byte, swap the nibbles in the byte; 0x12 -> 0x21.
Prototype
uint8_t __builtin_swap(uint8_t byte);
Argument
byte
– byte
Return Value
Returns the swapped value.
Assembler Operator/ Machine Instruction
swap.b
Error Messages
None.