What logic shud be used for swapping nibbles in a byte??
What logic shud be used for swapping nibbles in a byte??
This may be a way to do it:
1. Store top nibble in temporary variable
2. Shift the lower nibble to the top
3. Put the temporary variable in as the lower nibble.
Post the result here when you are done.