assembly - Binary subtraction -
say i'm going subtract: 0000 0000 - (-1)
that is: (two complement)
0000 0000 - 1111 1111 --------- = ???? ????
whats gonna happen, brain f***ing me right now, went fine before, think overflow thats screwing me up, can give clearance on please :)?
take two's complement of subtrahend , add minuend.
0000 0000 - 1111 1111 ... 0000 0000 + 0000 0001 ----------- 0000 0001
Comments
Post a Comment