05.09.2015 Views

更 加 细 化 的 框 图

乘法&移位

乘法&移位

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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

第 一 种 乘 法 算 法<br />

Start<br />

Multiplier0 = 1<br />

1. Test<br />

Multiplier0<br />

Multiplier0 = 0<br />

1a. Add multiplicand to product &<br />

place the result in Product register<br />

° 乘 积 乘 数 被 乘 数<br />

° 0000 0000 0011 0000 0010<br />

°0000 0010 0001 0000 0100<br />

°0000 0110 0000 0000 1000<br />

°0000 0110<br />

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

2. Shift the Multiplicand register left 1 bit.<br />

3. Shift the Multiplier register right 1 bit.<br />

32nd<br />

repetition?<br />

No: < 32 repetitions<br />

Yes: 32 repetitions<br />

Done<br />

计 算 机 系 统 结 构 教 研 室

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

Saved successfully!

Ooh no, something went wrong!