Convert the binary
number (10101101)2 into its gray code
Answers
Answered by
1
The procedure to convert a binary number to a reflective Gray code is :
Exclusive OR the number with the number resulting from right shift by 1 bit.
1 0 1 0 1 1 0 1
0 1 0 1 0 1 1 0 right shifted by 1 bit
1 1 1 1 1 0 1 1 exclusive or result
This is the answer.... binary equivalent of given number: 173
that of the Gray code of that: 251
Exclusive OR the number with the number resulting from right shift by 1 bit.
1 0 1 0 1 1 0 1
0 1 0 1 0 1 1 0 right shifted by 1 bit
1 1 1 1 1 0 1 1 exclusive or result
This is the answer.... binary equivalent of given number: 173
that of the Gray code of that: 251
Similar questions