rustfmt cleanup
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user