看來應該是解答寫錯了....
3.1.3
Answer:
a. 2771 , -723
b. 103 , 103
※ 引述《cutemiller (cutemiller)》之銘言:
: ※ 引述《LUCENE (LUCENE)》之銘言:
: : Convert A into a decimal number, assuming it is unsigned.
: : Repeat assuming it stored in sign-magnitude format. Show your work.
: : The following table also shows pairs of octal numbers.
: : A B
: : a. 2762 2032
: : b. 2646 1066
: : Please help me solve this exercise because I cannot tackle this.
: : Thanks a lot..
: A a. 2*8^3+7*8^2+6*8^1+2*8^0(decimal num.)
: A a. 轉成2進位 010 111 110 010 然後發現最左邊bit是0所以是正的,
: 然後再轉回10進位就好了.
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 203.70.51.79