summaryrefslogtreecommitdiffhomepage
path: root/asm/arm/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'asm/arm/main.cpp')
-rw-r--r--asm/arm/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/asm/arm/main.cpp b/asm/arm/main.cpp
index 20e67ab..0292615 100644
--- a/asm/arm/main.cpp
+++ b/asm/arm/main.cpp
@@ -30,6 +30,8 @@ int main(int argc, char* argv[])
std::string source {Reichwein::File::getFile(argv[1])};
code_sequence result {assembler.encode(source)};
dump(result);
+ } else {
+ throw std::runtime_error("Unknown arguments");
}
return 0;
} catch (const std::exception& ex) {