找出4位的位模式#

时间:2012-09-17 05:37:03

标签: binary twos-complement

一个。填写以下4位数字的位模式。如果一个数字有多个位模式,请全部写入。如果不存在位模式,请在框中写入“N / A”。

无符号,符号/幅度,一个补码,二个补码

表示0,7,-1,15和8。

我想出了0,-1和15的那些。

我需要7和8的帮助。

1 个答案:

答案 0 :(得分:2)

7

Unsigned notation - 0111
Signed notation - 0111
1s complement notation - 0111 
2s complement notation - 0111

8

Unsigned notation - 1000
Signed notation - N/A  (-7 to +7)
1s complement notation - N/A  (-7 to +7)
2s complement notation - N/A  (-8 to +7)

检查this