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:
parent
6183531abd
commit
44fe73ff8f
7 changed files with 100 additions and 30 deletions
|
@ -34,6 +34,7 @@
|
|||
}{%
|
||||
\avr@error{UDR unequal: #1 != \avr@UDR}%
|
||||
}%
|
||||
\def\avr@UDR{}%
|
||||
}
|
||||
|
||||
% Hook Macro for the tests
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue