为什么RISC指令集通常不包含寄存器到寄存器复制指令?

时间:2018-11-13 17:14:57

标签: assembly cpu-architecture instruction-set risc

我考试中有这个问题,我很困惑,因为据我所知

import React from 'react';
import ManageUsers from '../component/ManageUsers';
import Adapter from 'enzyme-adapter-react-16';
import Enzyme, {shallow,mount} from 'enzyme';
Enzyme.configure({adapter:new Adapter()});

describe("ManageUsers", () => {
  const wrapper = shallow(<ManageUsers/>);

  test("loading()", async () => {
    // wrapper.setState({loading:false}) // This should be a default
    expect(wrapper.find('something from the render'));
    expect(wrapper.state.parsedResults).toEqual('some result')
  });
});
MIPS指令中的

规定MIPS是RISC处理器。我想念什么吗?

1 个答案:

答案 0 :(得分:4)

移动是伪指令,当汇编时实际上是另一种指令。

例如

移动$ t0,$ zero被实现为addu $ t0,$ zero,$ zero