约定字长8位
X = - 1010b
[X]原 =1000 1010b
[X]反 =1111 0101b
.
[X]补 =1111 0110b
[Y]补 =0000 0111b (+
-------------------------------
[X+Y]补 =1111 1101b
[X+Y]反 =1111 1100b
[X+Y]原 =1000 0011b
X+Y = - 000 0011b = -3d
约定字长8位
X = - 1010b
[X]原 =1000 1010b
[X]反 =1111 0101b
.
[X]补 =1111 0110b
[Y]补 =0000 0111b (+
-------------------------------
[X+Y]补 =1111 1101b
[X+Y]反 =1111 1100b
[X+Y]原 =1000 0011b
X+Y = - 000 0011b = -3d