1
0
mirror of https://github.com/mre/mos6502.git synced 2024-11-28 22:51:26 +00:00

fix typo in comment

This commit is contained in:
Sam M W 2024-04-23 18:10:02 +01:00 committed by Matthias Endler
parent ad622bc930
commit 2444ef52d1

View File

@ -474,7 +474,7 @@ pub struct Cmos6502;
impl crate::Variant for Cmos6502 { impl crate::Variant for Cmos6502 {
fn decode(opcode: u8) -> Option<(Instruction, AddressingMode)> { fn decode(opcode: u8) -> Option<(Instruction, AddressingMode)> {
// TODO: We obviously need to add the other CMOS isntructions here. // TODO: We obviously need to add the other CMOS instructions here.
match opcode { match opcode {
0x6c => Some((Instruction::JMP, AddressingMode::IndirectWithFix)), 0x6c => Some((Instruction::JMP, AddressingMode::IndirectWithFix)),
_ => Nmos6502::decode(opcode), _ => Nmos6502::decode(opcode),