Does numeric operations for (1) two signed integers and (2) for two unsigned integers result in different assembly code? Assume integer width are the same, say, 64-bits.
By "numeric operations" I mean operations like +
, -
, *
, /
, %
(especially the last two). My guess of the answer is "they are the same" judging from the x86 assembly reference and the impression that signedness is how computer display a given bit pattern to screen, but I'd like to verify this claim. It might seem a silly question..