Addressing mode simplifications

This commit is contained in:
Adrian Conlon
2024-03-14 14:54:52 +00:00
parent 33a0889fe1
commit b22d7e47e5
14 changed files with 108 additions and 124 deletions

View File

@@ -109,9 +109,9 @@ int EightBit::Processor::run(const int limit) noexcept {
return current;
}
int EightBit::Processor::execute(const uint8_t value) noexcept {
void EightBit::Processor::execute(const uint8_t value) noexcept {
opcode() = value;
return execute();
execute();
}
void EightBit::Processor::jump(const register16_t destination) noexcept {