05.09.2015 Views

更 加 细 化 的 框 图

乘法&移位

乘法&移位

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Booths 示 例 (2 x -3)<br />

Operation Multiplicand Product next?<br />

0. initial value 0010 0000 1101 0 10 sub<br />

1a. P = P - m 1110 +1110 1110 1101 0 shift P (sign ext)<br />

1b. 0010 1111 0110 1 01 add<br />

+ 0010<br />

2a. 0001 0110 1 shift P<br />

2b. 0010 0000 1011 0 10 sub<br />

+1110<br />

3a. 0010 1110 1011 0 shift<br />

3b. 0010 1111 0101 1 11 nop<br />

4a 1111 0101 1 shift<br />

4b. 0010 1111 1010 1 done<br />

北 京 大 学 计 算 机 科 学 技 术 系<br />

计 算 机 系 统 结 构 教 研 室

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!