Two’s complement is an approach to represent a signed number. Given an 8-bit number as follows 1011 0010, what is the decimal value of this number?
A77
B-77
C78
D-78正確答案
答案與詳解
正確計算出二補數的絕對值為78,並根據MSB為1加上負號,結果為-78。
Examly 收錄 38 萬+ 道歷屆題目,每題都有像這樣的精選詳解。免費下載,立即開練。
