From 69fcf2b10cc139d3526b73672c727fcacfbb8c8b Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sat, 31 Aug 2024 19:44:35 +0200 Subject: Added instructions --- asm/arm/main.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'asm/arm/main.cpp') 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) { -- cgit v1.2.3