ft: rename to i8086-rs
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user