Activity 3 Addition of twos complement numbers Complete

Activity 3 Addition of two’s complement numbers Complete the following calculation using 8 -bit two’s complement representations and identify whether overflow error has occurred.

Activity 3 Addition of two’s complement numbers 1. 12010 + 1210 Binary representation of 12010 = 0111 10002 Binary representation of 1210 = 0000 1100 0111 1000 0000 1100 +______ 1000 0100 2 The sign bit of the result is (equal / not equal) to the sign bits of the operands. Overflow error (has / has not) occurred.

Activity 3 Addition of two’s complement numbers 2. – 2410 – 9610 The subtraction can be rewritten to an addition -2410 (-9610). expression: _____ + _____ Two’s complement representation of – 2410 = _____ 1110 1000 2 Two’s complement representation of – 9610 = _____ 1010 0000 2 1110 1000 1010 0000 +______ 11000

Activity 3 Addition of two’s complement numbers 2. The sign bit of the result is (equal / not equal) to the sign bits of the operands. Overflow error (has / has not) occurred.

Activity 3 Addition of two’s complement numbers 2. The sign bit of the result is (equal / not equal) to the sign bits of the operands. Overflow error (has / has not) occurred.
- Slides: 5