How to shift a binary number by filling MSB with 1?

Posted by israkir on Stack Overflow See other posts from Stack Overflow or by israkir
Published on 2010-04-05T19:44:09Z Indexed on 2010/04/05 20:03 UTC
Read the original article Hit count: 331

Filed under:
|

In MIPS, is there a way to shift a binary number (0000) by filling its MSB with 1 (1000 and next time 1100 and next time 1110 so on...) each time?

© Stack Overflow or respective owner

Related posts about mips

Related posts about assembly