计算下列十进制数的二进制原码、反码及补码 5、-5,7,-7,13,-13,25,-25,56,-56

2025-03-01 23:33:21
推荐回答(1个)
回答1:

5 00000101 00000101 00000101
-5 10000101 11111010 11111011
7 00000111 00000111 00000111
-7 10000111 11111000 11111001
13 00001011 00001011 00001011
-13 10001011 11110100 11110101
25 00011001 00011001 00011001
-25 10011001 11100110 11100111
56 00111000 00111000 00111000
-56 10111000 11000111 11001000