In MIPS, what are HI and LO

前端 未结 3 1783
感动是毒
感动是毒 2020-12-24 07:06

I\'m reading about division in MIPS and I\'ve found that div

Divides $s by $t and stores the quotient in $LO and the remainder in $HI

<
3条回答
  •  滥情空心
    2020-12-24 07:48

    What LO does is that for multiplication, it stores the least significant bits, and HI stores the rest of the bits, but mainly, we just focus on the LO part for multiplication. In division, we focus on both. LO in division is where the quotient should be stored at and HI is the remainder.

提交回复
热议问题