Assume a packet is made only of four 16-bit words (A7A2) 16 , (CABF) 16 , (903A)

Question:

Assume a packet is made only of four 16-bit words (A7A2)16, (CABF)16, (903A)16, and (A123)16. Manually simulate the algorithm in Figure 10.17 to find the checksum.

Figure 10.17

Figure 10.17 Algorithm to calculate a traditional checksum Start Sum = 0 More words? Iyes] Sum = Sum + Next Word Ino] Left(sum) is nonzero? Įyes] Sum = Left(Sum) + Right(Sum) Notes: Ino] a. Word and Checksum are each Checksum = Complement (Sum) 16 bits, but Sum is 32 bits.

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

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: