1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-03 11:30:02 +00:00

Fixed: the word/long-word bit works the other way around.

This commit is contained in:
Thomas Harte 2019-04-24 16:30:15 -04:00
parent 75a7f7ab22
commit b9933f512f

View File

@ -1277,9 +1277,9 @@ template <class T, bool dtack_is_implicit, bool signal_will_perform> void Proces
target.full = int8_t(data.halves.low) + source; \
\
if(data.full & 0x800) { \
target.full += int16_t(displacement.halves.low.full); \
} else { \
target.full += displacement.full; \
} else { \
target.full += int16_t(displacement.halves.low.full); \
} \
}
case int(MicroOp::Action::CalcD8AnXn) | MicroOp::SourceMask: {