aboutsummaryrefslogtreecommitdiffstats
path: root/src/ymh15/mips_cpu_ymh15.hpp
diff options
context:
space:
mode:
authorzedarider <ymherklotz@gmail.com>2016-10-17 20:05:54 +0100
committerzedarider <ymherklotz@gmail.com>2016-10-17 20:05:54 +0100
commit8e8aee436fdd03c7700030d8e0f5826aea0572ec (patch)
tree85de316ca6a66b259312b3820133757883ee934e /src/ymh15/mips_cpu_ymh15.hpp
parent59a98c0d25c5c71e86c36399b9ad9ef60b957bdf (diff)
downloadMipsCPU-8e8aee436fdd03c7700030d8e0f5826aea0572ec.tar.gz
MipsCPU-8e8aee436fdd03c7700030d8e0f5826aea0572ec.zip
added bitwise operators
Diffstat (limited to 'src/ymh15/mips_cpu_ymh15.hpp')
-rw-r--r--src/ymh15/mips_cpu_ymh15.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ymh15/mips_cpu_ymh15.hpp b/src/ymh15/mips_cpu_ymh15.hpp
index 5c6ea90..1e2900a 100644
--- a/src/ymh15/mips_cpu_ymh15.hpp
+++ b/src/ymh15/mips_cpu_ymh15.hpp
@@ -17,7 +17,9 @@ mips_error exec_instruction(mips_cpu_h state, uint32_t inst);
mips_error exec_R(mips_cpu_h state, uint32_t var[8]);
mips_error exec_J(mips_cpu_h state, uint32_t var[8]);
mips_error exec_I(mips_cpu_h state, uint32_t var[8]);
+
mips_error add_sub(mips_cpu_h state, uint32_t var[8], int32_t add_sub);
+mips_error bitwise(mips_cpu_h state, uint32_t var[8]);
uint8_t get_msb(uint32_t word);