Two's complement

  • Thread starter naspek
  • Start date
  • #1
naspek
181
0

Homework Statement


Perform the following arithmetic operation using 8-bit
two's complement

a) 8710 - 2910


The Attempt at a Solution


i just want to know.. am i converting the number correctly?

89 = 0101 1001
-29 = 1110 0011
 

Answers and Replies

  • #2
CompuChip
Science Advisor
Homework Helper
4,309
49
Yep, you did that correctly.
 
  • #3
naspek
181
0
thanks.. =)
 
  • #4
36,311
8,281

Homework Statement


Perform the following arithmetic operation using 8-bit
two's complement

a) 8710 - 2910
One quibble: you wrote 87 above, but worked with 89 below.

The Attempt at a Solution


i just want to know.. am i converting the number correctly?

89 = 0101 1001
-29 = 1110 0011
 

Suggested for: Two's complement

Replies
2
Views
894
Replies
10
Views
836
  • Last Post
Replies
8
Views
1K
Replies
5
Views
704
  • Last Post
Replies
1
Views
291
Replies
2
Views
1K
  • Last Post
Replies
5
Views
281
Replies
2
Views
809
  • Last Post
Replies
2
Views
227
Replies
1
Views
555
Top