for the 8-bit word 00111001 the check bits stored with it would be 0111.suppose when the word is read from memory,the check bits are calculated to be 1011.what is the data word that was read from memory?
Given 8 bit word 00111001. encoded in d8=0 d7=0 d6=1 d5=1 d4=1 d3=0 d2=0 d1=1.
Parity is calculated as 01111 which are written as p8p4p2p1.
encode the string as
check bit at other end is 1101.
xor(1101,0111)=1010 . its decimal conversion is 10. so 10th bit is changed.
10th bit is d6. so we flip it. and we get