|
1-3
(1) 01101110 真值=110 (2) 10001101 真值=-13
1-4
(1)+010111
[+010111]原=[+010111]反=[+010111]补=00010111
(2) +101011
[+101011]原=[+101011]反=[+101011]补=00101011
(3) –101000
[-101000]原=10101000 [-101000]反=11010111 [-101000]补=11011000
(4) -111111
[-111111]原=10111111
[-111111]反=11000000
[-111111]补=11000001
1-6
(1) [x1+y1]补=[x1]补+ [y1]补=00010100+00100001=00110101 (3)[x2-y2]补=[x2]补+ [-y2]补=11101100+00100001=00001101 (4) [x2+y2]补=[x2]补+ [y2]补=11101100+11011111=11001011 1-7 (2) -85+60
解:[-85]补=10101011 [60]补=00111100
[-85]补+[60]补=10101011+00111100=11100111
|
|