According to page 67 of PDP1120_Handbook_1972.pdf, BIC and BICB shall

clear the V flag when invoked.
This commit is contained in:
folkert van heusden 2024-03-28 22:56:11 +01:00
parent 981efedeed
commit dfdec49007
Signed by untrusted user who does not match committer: folkert
GPG key ID: 6B6455EDFEED3BD1

1
op4.py
View file

@ -150,6 +150,7 @@ def op04_bic(cpu, inst, opsize=2):
cpu.psw_n = dst & cpu.SIGN816[opsize] cpu.psw_n = dst & cpu.SIGN816[opsize]
cpu.psw_z = (dst == 0) cpu.psw_z = (dst == 0)
cpu.psw_v = 0
cpu.operandx(xb6, dst, opsize=opsize) cpu.operandx(xb6, dst, opsize=opsize)