Hi, i have a binary data that is coded in BCD bytes , example: AB(one BCD byte) in BCD is the concat of A and B in binary, so : AB = 1010(A)1011(B), and i want a function that can reverse the my BCD byte, the result will be :
Thanks.Code:shift_function(AB) = 1011(B)1010(A)