[問題] 台大2
(1)What bit pattern represents the sum of 01101010 and
10001101 if the patterns represent value stored in
the 2'complement notation?
(2)What if the patterns represent value stored in the
floating-point format shown as follows:
Bit 7:sign bit
Bit 6,5,4:exponent(use excess-4)
Bit 3,2,1,0:mantissa
For example:
Bit: 7 654 3210
 ̄  ̄ ̄  ̄ ̄ ↖mantissa
↗ ↑
sign bit exponent
--
《ID暱稱》powerstyle (知心) 《經濟狀況》債台高築 (0)
《上站次數》340次 《文章篇數》17篇 (優:0/劣:1)
《目前動態》不在站上 《私人信箱》有新進信件還沒看
《上次上站》12/17/2008 22:04:41 Wed 《上次故鄉》61.71.64.165
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.112.128.93