1
0
Fork 0
mirror of synced 2025-07-04 20:37:07 +02:00

SBC/CPC: Fix Calculation of Zero Flag

For the Sub/Compare with carry, the old Z flag is also used to
AND the newZ:

  newZ = (result==0) & oldZ
This commit is contained in:
Christian Dietrich 2014-09-29 22:59:42 +02:00
parent 6183531abd
commit 44fe73ff8f
7 changed files with 100 additions and 30 deletions

View file

@ -34,6 +34,7 @@
}{%
\avr@error{UDR unequal: #1 != \avr@UDR}%
}%
\def\avr@UDR{}%
}
% Hook Macro for the tests