0% found this document useful (0 votes)
36 views

Problems, Networks

The document provides steps to add 16-bit numbers and calculate their 1's complement sum. It lists 16-bit numbers that are summed together and shows the padded zeroes. The final 1's complement sum is calculated by taking the 1's complement of the binary sum and is shown to be 7795 in hexadecimal.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
36 views

Problems, Networks

The document provides steps to add 16-bit numbers and calculate their 1's complement sum. It lists 16-bit numbers that are summed together and shows the padded zeroes. The final 1's complement sum is calculated by taking the 1's complement of the binary sum and is shown to be 7795 in hexadecimal.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Solution for assignment-2

Add the 16-bit numbers


06 DD
C0 A8
00 17
02 64
FC 96
C0 A8
A6 82
01 01
53 B3
0006
6F E5
0017
50 18
44 DC
FF FB
01 00

Source Port:
1757
Destination Port:
23 (Telnet)
Sequence Number: 4237731458
Ack Number: 1404268517
Header Length: 5 (32 bit words, which is equal to 20 bytes)
Flags: ACK and Push are set rest are zero (Binary 0001 1000)
Window size:
17628

Padded zeroes
16-bit 1s complement sum:
1000 1000 0110 1010 (Hex: 886A)
Invert the bits to get 1s complement of the 1 complement sum
0111 0111 1001 0101 (Hex: 7795)

105

You might also like