|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
MIPS-X中的sh指令怎么理解?
sh r4,r2,r5,#7
place in r5 the bottom 7 bits of r2 (in the high order position) concatenated with the top 25 bits of r4. The bits to specify the shift amount are determined by first doing (32-7)to get 25.Then encode 25 to get 1100010.
对此没有理解 个人感觉就是左移
sh rScr1,rScr2,rDest.#shift
Reg(Dest) <= Bottom shift amount bits of Reg(Src2) || Top 32 shift amount bits of Reg(Src1) |
|