aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine/instructions/nop.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtmips_machine/instructions/nop.cpp')
-rw-r--r--qtmips_machine/instructions/nop.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/qtmips_machine/instructions/nop.cpp b/qtmips_machine/instructions/nop.cpp
new file mode 100644
index 0000000..5fd5e47
--- /dev/null
+++ b/qtmips_machine/instructions/nop.cpp
@@ -0,0 +1,7 @@
+#include "nop.h"
+
+std::vector<std::string> InstructionNop::to_strs() {
+ std::vector<std::string> str;
+ str.push_back("nop");
+ return str;
+}