is two's complement addition of two positive numbers the same as normal addition?

Posted by calccrypto on Stack Overflow See other posts from Stack Overflow or by calccrypto
Published on 2010-03-13T22:57:06Z Indexed on 2010/03/13 23:05 UTC
Read the original article Hit count: 291

Filed under:

if i have two positive integers, say 0x1234 and 0x5678, is 0x8765 + 0xfedc = 0x8641, if the '+' means two's complement addition, mod 2^16?

© Stack Overflow or respective owner

Related posts about complement