summaryrefslogtreecommitdiff
path: root/src/cli
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-03-29 02:36:38 -0400
committerbd <bdunahu@operationnull.com>2025-03-29 02:36:38 -0400
commitbc47d9131869b1f072e21d9cb61746d14bf30751 (patch)
tree3da9c04aa06f606d729c6267248966cd17ea7c63 /src/cli
parentb06f7b0546d679958153263e15ea857659819499 (diff)
get_instr_fields return mnemonic rather than opcode and type
Diffstat (limited to 'src/cli')
-rw-r--r--src/cli/cli.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cli/cli.cc b/src/cli/cli.cc
index 022b266..58575cb 100644
--- a/src/cli/cli.cc
+++ b/src/cli/cli.cc
@@ -3,6 +3,7 @@
#include "definitions.h"
#include "dram.h"
#include "response.h"
+#include "accessor.h"
#include "utils.h"
#include <iostream>
@@ -43,6 +44,7 @@ Cli::Cli()
};
commands['r'] = [this](std::vector<std::string> args) {
+ (void)args;
reset();
return;
};
@@ -61,6 +63,7 @@ Cli::Cli()
};
commands['h'] = [this](std::vector<std::string> args) {
+ (void)args;
help();
return;
};