aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2018-02-10 12:40:35 +0000
committerYann Herklotz <ymherklotz@gmail.com>2018-02-10 12:40:35 +0000
commit17ceacd06e58517962bb5e64dc5208224a38d1ee (patch)
tree664ffbe7f8d834b8a9e844dd2b4ccac9d497641d
parent276b77d0c30d6de722ab5cb64e96cb78a6f7680e (diff)
downloadMipsCPU-17ceacd06e58517962bb5e64dc5208224a38d1ee.tar.gz
MipsCPU-17ceacd06e58517962bb5e64dc5208224a38d1ee.zip
[code] Updating repository.
-rw-r--r--fragments/f_addu-mips.binbin8 -> 0 bytes
-rw-r--r--fragments/f_fibonacci-mips.binbin104 -> 0 bytes
-rwxr-xr-xmakefile4
-rw-r--r--src/shared/mips_mem_ram.obin5980 -> 0 bytes
-rw-r--r--src/shared/mips_test_framework.obin383176 -> 0 bytes
-rw-r--r--src/ymh15/test.s15
6 files changed, 2 insertions, 17 deletions
diff --git a/fragments/f_addu-mips.bin b/fragments/f_addu-mips.bin
deleted file mode 100644
index 062ccaa..0000000
--- a/fragments/f_addu-mips.bin
+++ /dev/null
Binary files differ
diff --git a/fragments/f_fibonacci-mips.bin b/fragments/f_fibonacci-mips.bin
deleted file mode 100644
index d43b968..0000000
--- a/fragments/f_fibonacci-mips.bin
+++ /dev/null
Binary files differ
diff --git a/makefile b/makefile
index a5597ae..a47ce96 100755
--- a/makefile
+++ b/makefile
@@ -61,7 +61,7 @@ USER_TEST_OBJECTS = $(patsubst %.cpp,%.o,$(USER_TEST_SRCS))
# - Your test implementation from $(USER_TEST_OBJECTS), including the main function
src/$(LOGIN)/test_mips : $(DEFAULT_OBJECTS) $(USER_CPU_OBJECTS) $(USER_TEST_OBJECTS)
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -o $@ $^ $(LFLAGS) $(LDLIBS)
-
+
# This is a bonus gift. You may want to try building this
# using:
#
@@ -78,7 +78,7 @@ src/$(LOGIN)/test_mips : $(DEFAULT_OBJECTS) $(USER_CPU_OBJECTS) $(USER_TEST_OBJE
# You may want to look at the corresponding binaries, code, and disassembly
# in the fragments directory.
fragments/run_fibonacci : $(DEFAULT_OBJECTS) $(USER_CPU_OBJECTS)
-
+
# Again, another bonus gift. If you are convinced that your
# program implements addu (and one other instruction) correctly,
# then try running this.
diff --git a/src/shared/mips_mem_ram.o b/src/shared/mips_mem_ram.o
deleted file mode 100644
index 198259d..0000000
--- a/src/shared/mips_mem_ram.o
+++ /dev/null
Binary files differ
diff --git a/src/shared/mips_test_framework.o b/src/shared/mips_test_framework.o
deleted file mode 100644
index b4a3c76..0000000
--- a/src/shared/mips_test_framework.o
+++ /dev/null
Binary files differ
diff --git a/src/ymh15/test.s b/src/ymh15/test.s
deleted file mode 100644
index 80f645a..0000000
--- a/src/ymh15/test.s
+++ /dev/null
@@ -1,15 +0,0 @@
- .text
- .globl main
-
-main:
- li $8, 10
- li $9, 0
- li $10, 17
-loop:
- beq $9, $8, end
- add $10, $10, $9
- addi $9, $9, 1
- j loop
-end:
- ori $2, $0, 10
- syscall