mirror of
https://github.com/FrancescoRigoni/Lib65816.git
synced 2024-10-15 09:23:41 +00:00
fixed incorrect use of 16bit accu when calculating zero flag
This commit is contained in:
parent
cf7cb1b2ad
commit
b343063a4b
@ -29,7 +29,7 @@
|
||||
else Binary::clearBitIn8BitValue(&value, 0); \
|
||||
if (carryWillBeSet) mCpuStatus.setCarryFlag(); \
|
||||
else mCpuStatus.clearCarryFlag(); \
|
||||
mCpuStatus.updateSignAndZeroFlagFrom16BitValue(value); \
|
||||
mCpuStatus.updateSignAndZeroFlagFrom8BitValue(value); \
|
||||
}
|
||||
|
||||
#define DO_ROL_16_BIT(value) { \
|
||||
|
Loading…
Reference in New Issue
Block a user