what is the logic 4 converting gray 2 binary in 8085 coding
And this PDF: Page 3 (PDF page 10) of this PDF shows truth table. That document is for converting binary to grey code using XOR gates, the K-Map is shown, so the inverse should be straightforward.MATLAB for converting grey code:
dec2bin(bin2gray(0:3, 'pam', 4))
dec2bin(bin2gray(0:7, 'pam', 8))
dec2bin(bin2gray(0:15, 'pam', 16))
dec2bin(bin2gray(0:31, 'pam', 32))
dec2bin(bin2gray(0:63, 'pam', 64))
( for 2, 3, 4, 5, and 6 bits)