Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/27/00 18:51
Read: times


 
#3437 - RE: Signed numbers (compare & subtract)
Take a look at this:

-1 -1 = -1 + (-1) = -2

so

FFFF + FFFF = FFFE

you must convert subtraction into addition, and you get the right result with signed integer numbers. I'm sure you know how to do it in assembly.


Franc

List of 6 messages in thread
TopicAuthorDate
Signed numbers (compare & subtract)            01/01/70 00:00      
RE: Signed numbers (compare & subtract)            01/01/70 00:00      
RE: Signed numbers (compare & subtract)            01/01/70 00:00      
RE: Signed numbers (compare & subtract)            01/01/70 00:00      
RE: Signed numbers (compare & subtract)            01/01/70 00:00      
RE: Signed numbers (compare & subtract)            01/01/70 00:00      

Back to Subject List