fix: fix modrm parsing

Previously the wrong register was read in, now
the byte is deconstructed correctly
This commit is contained in:
2025-05-12 15:38:20 +09:00
parent 1dcd231f51
commit 317b5e5db4
2 changed files with 48 additions and 33 deletions

View File

@@ -61,6 +61,7 @@ impl fmt::Display for Opcode {
}
/// Registers of a 8086 processor
/// -x are 16bit, -l are 8bit
#[derive(Debug, Clone)]
#[allow(dead_code)]
pub enum Register {