Website Summary Files Commits Branches @commit @diff @stats
path: root / assembler / src
diff options
context:
space:
mode:
1 files changed, 4 insertions, 0 deletions
-rw-r--r--assembler/src/main.rs4
diff --git a/assembler/src/main.rs b/assembler/src/main.rs
index 56a705d..20bf2b7 100644
--- a/assembler/src/main.rs
+++ b/assembler/src/main.rs
@@ -13,14 +13,18 @@ static PROGRAM_COUNTER: usize = 3;
#[derive(Parser, Debug)]
#[command(about, long_about = None)]
struct Args {
+ /// Path to source file
source: String,
+ /// Assembled binary output path
#[arg(default_value = "program.bin")]
destination: String,
+ /// Where the first actual byte to be
#[arg(short, long, default_value_t = 1024)]
start_index: usize,
+ /// Show intermediate representations
#[arg(long, default_value_t = false)]
debug: bool,
}