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.
当我使用 SPIM 模拟 MIPS 时,当我在 SPIM 模拟器中对寄存器进行操作时,我实际上是在使用 CPU 上的寄存器吗?我在英特尔机器上运行 SPIM。
不,SPIM 是一个模拟器,即它模拟真实的处理器,仅此而已。没有必要也没有可能这样做(MIPS 和 x86 处理器具有不同的寄存器集)。
然而,最终,SPIM 本身当然会使用您的处理器的寄存器。