diff options
author | zedarider <ymherklotz@gmail.com> | 2016-10-14 20:14:20 +0100 |
---|---|---|
committer | zedarider <ymherklotz@gmail.com> | 2016-10-14 20:14:20 +0100 |
commit | cea8c4ca10cd3a7453bc6311215dac4992fe7f52 (patch) | |
tree | c835186ccc01d46e2588850fba3e74127e86ce38 /src/ymh15/test_mips_ymh15.hpp | |
parent | 0673cc3651b60203b90eccdc1c5af5e455f4b6fb (diff) | |
download | MipsCPU-cea8c4ca10cd3a7453bc6311215dac4992fe7f52.tar.gz MipsCPU-cea8c4ca10cd3a7453bc6311215dac4992fe7f52.zip |
adding all initial files
Diffstat (limited to 'src/ymh15/test_mips_ymh15.hpp')
-rw-r--r-- | src/ymh15/test_mips_ymh15.hpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/ymh15/test_mips_ymh15.hpp b/src/ymh15/test_mips_ymh15.hpp new file mode 100644 index 0000000..98c9789 --- /dev/null +++ b/src/ymh15/test_mips_ymh15.hpp @@ -0,0 +1,15 @@ +#ifndef TEST_MIPS_YMH15_H +#define TEST_MIPS_YMH15_H + +#include "../../include/mips.h" + +uint32_t gen_instruction(uint32_t src1, uint32_t src2, uint32_t dest, + uint32_t shift, uint32_t function); +uint32_t gen_instruction(uint32_t opcode, uint32_t src, uint32_t dest, + uint32_t Astart); +uint32_t gen_instruction(uint32_t opcode, uint32_t memory); +uint32_t change_endianness(uint32_t inst); + +void test_endian(mips_mem_h ram); + +#endif // TEST_MIPS_YMH15_H |