From 72b51899b0d71a43af81c89a5eeeedb08c2b6d0b Mon Sep 17 00:00:00 2001 From: zedarider Date: Thu, 27 Oct 2016 18:53:16 +0100 Subject: Finished cpu completely except some corner cases --- src/ymh15/mips_cpu_ymh15.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ymh15/mips_cpu_ymh15.hpp') diff --git a/src/ymh15/mips_cpu_ymh15.hpp b/src/ymh15/mips_cpu_ymh15.hpp index 085c59c..05f21f9 100644 --- a/src/ymh15/mips_cpu_ymh15.hpp +++ b/src/ymh15/mips_cpu_ymh15.hpp @@ -16,6 +16,7 @@ #define MEM 7 // Functions +#define NOOP 0x0 #define SLL 0x0 #define SRL 0x2 #define SRA 0x3 @@ -89,5 +90,6 @@ mips_error store(mips_cpu_h state, uint32_t var[8]); mips_error move(mips_cpu_h state, uint32_t var[8]); mips_error mult_div(mips_cpu_h state, uint32_t var[8]); mips_error shift(mips_cpu_h state, uint32_t var[8]); +mips_error set(mips_cpu_h state, uint32_t var[8], uint32_t imm); #endif // MIPS_CPU_YMH15_H -- cgit