Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我刚刚开始学习这个材料。我不明白图表中的 35、9、8 等数字是从哪里来的。我在装配线上看到的只是数字 300。
https://ibb.co/ZYrk42H
35 是操作码lw,9 是实际寄存器号$t1,8 是实际寄存器号$t0。
lw
$t1
$t0
$t0是一个友好的寄存器名称 - 见这里,你可以看到它$t0也是$8(又名寄存器编号 8)。可以想象,硬件并不关心友好名称,只想查看实际数字。
$8
35 是操作码,如您在此处看到的,lw具有操作码100011,即 35
100011