ft: add debug script
This commit is contained in:
@@ -43,7 +43,7 @@ impl fmt::Display for DisasmError {
|
||||
DisasmError::IoError(msg) => write!(f, "{}", msg),
|
||||
DisasmError::OpcodeUndefined(opcode) => write!(
|
||||
f,
|
||||
"Error (Undefined Opcode). '{:#x} is considered undefined by the Spec",
|
||||
"Error (Undefined Opcode). '{:#04x} is considered undefined by the Spec",
|
||||
opcode
|
||||
),
|
||||
DisasmError::IllegalGroupMnemonic(group, mnemonic) => write!(
|
||||
@@ -244,6 +244,8 @@ impl Disassembler {
|
||||
rm
|
||||
);
|
||||
|
||||
// not unused, but overwritten before first read
|
||||
#[allow(unused_assignments)]
|
||||
let mut displacement = None;
|
||||
match mode {
|
||||
0b00 => {
|
||||
|
||||
Reference in New Issue
Block a user