Addition with eight bit 2's complement numbers. [Check my Work]

Click For Summary
SUMMARY

The discussion focuses on the addition of two eight-bit 2's complement numbers: 01110101 (117) and 11011110 (-34). The participant correctly performed the addition, resulting in 01010011, which equals 83. The calculation confirms that there is no arithmetic overflow, as the operation results in a carry but remains within the valid range of eight-bit 2's complement representation.

PREREQUISITES
  • Understanding of eight-bit 2's complement representation
  • Basic arithmetic operations with binary numbers
  • Knowledge of overflow conditions in binary addition
  • Familiarity with converting binary to decimal
NEXT STEPS
  • Study the rules of binary addition and carry propagation
  • Learn about detecting overflow in signed binary arithmetic
  • Explore the conversion methods between binary and decimal systems
  • Investigate the implications of 2's complement in computer architecture
USEFUL FOR

Students and professionals in computer science, particularly those studying digital logic design, binary arithmetic, and computer architecture.

shamieh
Messages
538
Reaction score
0
Perform the following operations involving eight-bit 2's complement numbers and indicate whether arithmetic overflow occurs.

1) 01110101 + 11011110.

So I have a +Positive + a -Negative number. So I just added normally, and got the result of 01010011.

I realized before I started the problem I essentially had 117 +(-34) which is really 117 - 34 = 83.

So my result 01010011 = 83. Was there an easier way I could have done this? And, is this correct? It seems logically correct, but I've been known to screw these up. Also, there would be no overflow right?
 
Technology news on Phys.org
Your calculation is correct. The operation results in a carry, but no overflow.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
4K
Replies
1
Views
3K
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
9K
Replies
3
Views
12K
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
1
Views
5K
  • · Replies 9 ·
Replies
9
Views
2K