summaryrefslogtreecommitdiff
path: root/Assembler/Options.cs
diff options
context:
space:
mode:
authorMelodi <62381002+Melodi17@users.noreply.github.com>2025-08-06 22:36:34 +1000
committerMelodi <62381002+Melodi17@users.noreply.github.com>2025-08-06 22:36:34 +1000
commit7a8d2bcd75d88a5429937bf551878c55e1dcf0fd (patch)
tree81bc1f259fb8678513aa8b214df4ef72720bb585 /Assembler/Options.cs
parent16f3cb74564cf7c19da6e13666c98aca36094716 (diff)
moved everything to seperate projects, and started compiler work + push and pop instructions added
Diffstat (limited to 'Assembler/Options.cs')
-rw-r--r--Assembler/Options.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/Assembler/Options.cs b/Assembler/Options.cs
new file mode 100644
index 0000000..dc4efc2
--- /dev/null
+++ b/Assembler/Options.cs
@@ -0,0 +1,12 @@
+namespace Q1.Assembler;
+
+using CommandLine;
+
+public class Options
+{
+ [Option('i', "input", Required = true, HelpText = "Input file to assemble.")]
+ public string InputFile { get; set; }
+
+ [Option('o', "output", Required = true, HelpText = "Output file to write the assembled code.")]
+ public string OutputFile { get; set; }
+} \ No newline at end of file