I’ve done a LOT of work.
Added Opcodes:
- BEQ
- BNE
- SBC Immediate + Zeropage
I’ve also done a lot of refractorisation. Code before :
match opcode {
0x18 => {
self.sr &= !CPU::CARRY_FLAG;
self.set_instr(format!("{:02X}", opcode), "CLC".to_string(), 2);
},
// ...
}
VS now :
match opcode {
0x18 => self.clc(opcode),
// ...
}
So now every opcode have his own function !
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.