CS计算机代考程序代写 mips #include
#include #include “shell.h” #include #include #include #include uint8_t op; uint32_t instruction; uint32_t addr_rs, addr_rt, addr_rd; uint32_t rs, rt, rd; //to save the register value uint8_t func; uint16_t itemp; //for save immidiate number //please take a loot at https://inst.eecs.berkeley.edu/~cs61c/resources/MIPS_Green_Sheet.pdf // or // https://web.cse.ohio-state.edu/~crawfis.3/cse675-02/Slides/MIPS%20Instruction%20Set.pdf void fetch() { printf(“fetch “); instruction = mem_read_32(CURRENT_STATE.PC); //the instruction NEXT_STATE.PC = CURRENT_STATE.PC […]
CS计算机代考程序代写 mips #include Read More »