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:
parent
ad622bc930
commit
2444ef52d1
@ -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),
|
||||||
|
Loading…
Reference in New Issue
Block a user