rustfmt cleanup

This commit is contained in:
2025-07-06 13:38:55 -04:00
parent cf14804df2
commit b9242b1943
39 changed files with 1695 additions and 551 deletions
+6 -5
View File
@@ -1,5 +1,5 @@
use core::instruction::Instruction;
use core::address_mode::AddressMode;
use core::instruction::Instruction;
use core::operand::Operand;
use core::operation::Operation;
@@ -11,12 +11,13 @@ fn main() {
op: Operation::NOP,
mode: AddressMode::Implied,
operand: Operand::None,
}, &[0xea]
)];
},
&[0xea],
)];
for (op, bytes) in instructions {
assert_eq!(Instruction::decode(bytes), Some(op));
}
// let instruction = Instruction::decode(&[0xea]);
// println!("NOP Decoded -> {:?}", instruction);
// let instruction = Instruction::decode(&[0xea]);
// println!("NOP Decoded -> {:?}", instruction);
}