chore: split up some structs and add comments
This commit is contained in:
@@ -1,14 +1,15 @@
|
||||
use core::fmt;
|
||||
use std::{fs::File, io::Read, process::exit};
|
||||
//! The main dissembling logic.
|
||||
|
||||
use crate::aout::Aout;
|
||||
use crate::instructions::{Displacement, IByte, IWord, MemoryIndex, ModRmTarget, Operand, Pointer};
|
||||
use crate::operands::{Displacement, IByte, IWord, MemoryIndex, ModRmTarget, Operand, Pointer};
|
||||
use crate::register::{Register, RegisterId, SegmentRegister};
|
||||
use crate::{
|
||||
Args,
|
||||
instructions::{Instruction, Mnemonic},
|
||||
};
|
||||
use crate::{modrmb, modrms, modrmv};
|
||||
use core::fmt;
|
||||
use std::{fs::File, io::Read, process::exit};
|
||||
|
||||
#[derive(Debug)]
|
||||
/// Generic errors, which are encountered during parsing.
|
||||
|
||||
Reference in New Issue
Block a user