SXT clears the V flag

This commit is contained in:
folkert van heusden 2024-03-28 23:56:22 +01:00
parent dfdec49007
commit f10da0f269
Signed by untrusted user who does not match committer: folkert
GPG key ID: 6B6455EDFEED3BD1

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)