28.2.129 __builtin_swap_byte
Architecture
dsPIC33C/E/F, dsPIC30
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.
Machine Instruction
swap.b
Error Messages
None.