edited by
1,602 views
0 votes
0 votes

x1= 10101010

x2=11111111



x1x2------>EX-OR------>GRAY CODE--------->(Output in decimal)????

edited by

2 Answers

0 votes
0 votes
x1 xor x2 = 01010101

Gray equivalent of x1 xor x2 is 01111111

convert the gray code (01111111) into decimal code =(127)$_{10}$

Related questions

0 votes
0 votes
1 answer
2
Himanshu1 asked Jan 5, 2016
483 views
1 votes
1 votes
2 answers
3
shikharV asked Jan 3, 2016
3,363 views
I read somewhere that gray code is self-complementing but I couldn't find any explanation for that. Please tell if anyone has some idea about it.