Merge pull request #3 from folkertvanheusden/SXT

SXT clears the V flag
This commit is contained in:
Neil Webber 2024-03-28 19:45:49 -05:00 committed by GitHub
commit 7b1eda6638
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -304,6 +304,7 @@ def op00_67_sxt(cpu, inst):
else: else:
val = 0 val = 0
cpu.psw_z = not cpu.psw_n cpu.psw_z = not cpu.psw_n
cpu.psw_v = 0
cpu.operandx(inst & 0o0077, val) cpu.operandx(inst & 0o0077, val)