diff options
author | Roland Reichwein <mail@reichwein.it> | 2024-08-31 19:44:35 +0200 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2024-08-31 19:44:35 +0200 |
commit | 69fcf2b10cc139d3526b73672c727fcacfbb8c8b (patch) | |
tree | 543d80ccb73fe7ff43abfebcd31046937a550d74 /asm/arm/main.cpp | |
parent | 02153da4d5954261f6649e2980bc88f6d29e45a6 (diff) |
Added instructions
Diffstat (limited to 'asm/arm/main.cpp')
-rw-r--r-- | asm/arm/main.cpp | 2 |
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) { |