e1h+16h补码相加并求真值
e1h+16h补码相加并求真值
日期:2015-04-29 16:18:26 人气:1
若E1h, 16h 是两数的真值:
则 E1h +16h = F7 =247d
.
.
若E1h, 16h 是两数的补码:
.....[x]补 =11100001b
.....[y]补 =00010110b (+
--------------------------
.[x+y]补 =11110111b
.[x+y]反 =11110110b
.[x+y]原 =10001001b
.......x+y = - 0001001b = -9d