首页 > 解决方案 > 这些伪指令的 MIPS 等价物是什么?

问题描述

  1. rol $t7, $t6, $t8

    这就像:

    sll $t0, $t3, 8 # get rid of bits 31-23
    srl $t1, $t3, 24 #move 31-32 to 7-0
    or $t7, $t0, $t1 # do an or statement
    

    正确的?

  2. 这个如何:

    ld   $t2, 0($t8)
    

标签: mipscomputer-science

解决方案


推荐阅读