ft: rename to i8086-rs

This commit is contained in:
2025-07-08 09:56:08 +09:00
parent 0a1fd0e4c6
commit 8c1a07b9e6
4 changed files with 37 additions and 30 deletions

View File

@@ -15,9 +15,11 @@ mod register;
#[derive(Subcommand, Debug)]
enum Command {
/// Disassemble the binary into 8086 instructions
Disasm,
#[clap(visible_alias("d"))]
Disassemble,
/// Interpret the 8086 instructions
#[clap(visible_alias("i"))]
Interpret,
}
@@ -52,7 +54,7 @@ fn main() {
log::debug!("{:?}", args);
match args.command {
Command::Disasm => {
Command::Disassemble => {
let mut disasm = Disassembler::new(&args);
let instructions = disasm.disassemble(args.dump);
match instructions {