You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Write a program to swap odd and even bits in an integer with as few instructions as possible
Example: bit 0 and bit 1 are swapped,
bit 2 and bit 3 are swapped, etc.