Two's complement

  • Thread starter naspek
  • Start date
  • #1
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,302
47
Yep, you did that correctly.
 
  • #3
181
0
thanks.. =)
 
  • #4
35,043
6,779

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
 

Related Threads on Two's complement

  • Last Post
Replies
1
Views
1K
  • Last Post
Replies
8
Views
1K
Replies
2
Views
1K
Replies
2
Views
633
  • Last Post
Replies
1
Views
7K
K
Replies
6
Views
9K
  • Last Post
Replies
2
Views
42K
  • Last Post
Replies
2
Views
11K
  • Last Post
Replies
13
Views
2K
Top