Professional Documents
Culture Documents
2
Error Control
(2) Checksum
The sender follows these steps:
Example Part 1
Supposethefollowingblockof16bitsistobesentusingachecksumof8bits.
1010100100111001
Thenumbersareaddedusingonescomplement
10101001
00111001
Sum
11100010
Checksum00011101
Thepatternsentis101010010011100100011101
Example part 2
NowsupposethereceiverreceivesthepatternsentinExample7andthereisno
error.
101010010011100100011101
Whenthereceiveraddsthethreesections,itwillgetall1s,which,after
complementing,isall0sandshowsthatthereisnoerror.
10101001
00111001
00011101
Sum
11111111
Complement 00000000meansthatthepatternisOK.