xod_s
- 8
- 0
Homework Statement
00001101 bin
* 00001000 bin
-----------------------------------
Homework Equations
It's a binary subtraction question using 2's complement method and an 8 BIT register.There's no equation than,I guess.
The Attempt at a Solution
11111111 <--1's "carried over"
00001101 bin
* 00001000 bin
-----------------------------------
11111111
1111101
+ 1
--------------------------------------
110
000000000 +
------------------------------------
11111111
00000110
+ 00001101
--------------------------------------
11111001
00000110 <----inversion of previous numberI did all this but on my answer sheet it says that the answer is 00000101.Why is this?.