Merge pull request #13 from folkertvanheusden/INC

INC fix
This commit is contained in:
Neil Webber 2024-04-04 20:12:31 -05:00 committed by GitHub
commit dfb95bce2e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -96,7 +96,7 @@ def op00_52_inc(cpu, inst, opsize=2):
cpu.psw_n = newval & cpu.SIGN816[opsize] cpu.psw_n = newval & cpu.SIGN816[opsize]
cpu.psw_z = (newval == 0) cpu.psw_z = (newval == 0)
cpu.psw_v = (newval == cpu.SIGN816) cpu.psw_v = (newval == cpu.SIGN816[opsize])
# C bit not affected # C bit not affected
cpu.operandx(xb6, newval, opsize=opsize) cpu.operandx(xb6, newval, opsize=opsize)