Lot's of small niggles corrected across the EightBit libraries

This commit is contained in:
Adrian Conlon
2024-03-18 13:03:41 +00:00
parent 739ce39360
commit 8b6c4a205e
21 changed files with 44 additions and 66 deletions

View File

@@ -96,13 +96,13 @@ int EightBit::IntelProcessor::jrConditional(const int condition) {
}
void EightBit::IntelProcessor::ret() {
Processor::ret();
LittleEndianProcessor::ret();
MEMPTR() = PC();
}
bool EightBit::IntelProcessor::operator==(const EightBit::IntelProcessor& rhs) const noexcept {
return
Processor::operator==(rhs)
LittleEndianProcessor::operator==(rhs)
&& HALT() == rhs.HALT()
&& MEMPTR() == rhs.MEMPTR()
&& SP() == rhs.SP()