SXT clears the V flag
This commit is contained in:
parent
dfdec49007
commit
f10da0f269
1 changed files with 1 additions and 0 deletions
1
op00.py
1
op00.py
|
@ -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)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue