Manually simulate the Fletcher algorithm (Figure 10.18) to calculate the checksum of the following bytes: (2B) 16

Question:

Manually simulate the Fletcher algorithm (Figure 10.18) to calculate the checksum of the following bytes: (2B)16, (3F)16, (6A)16, and (AF)16. Also show that the result is a weighted checksum.

Figure 10.18

Figure 10.18 Algorithm to calculate an 8-bit Fletcher checksum Notes Start L:Left 8-bit checksum R: Right 8-bit checksum D;: Next 8-bit data item R=L=0 More data? Iyes] L= (L+ R) mod 256 R= (R + D;) mod 256 Ino] 16-bit L checksum Checksum = Lx 256 +R R Stop

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Data Communications and Networking

ISBN: 978-0073376226

5th edition

Authors: Behrouz A. Forouzan

Question Posted: