MFPI same bug as MTPI
This commit is contained in:
parent
7ea4acd24f
commit
d65986c619
1 changed files with 1 additions and 1 deletions
2
op00.py
2
op00.py
|
@ -263,7 +263,7 @@ def op00_65_mfpi(cpu, inst, opsize=2):
|
||||||
pival = cpu.stackpointers[prvm]
|
pival = cpu.stackpointers[prvm]
|
||||||
else:
|
else:
|
||||||
pival = cpu.operandx(inst & 0o77, altmode=prvm, altspace=space)
|
pival = cpu.operandx(inst & 0o77, altmode=prvm, altspace=space)
|
||||||
cpu.psw_n = pival & cpu.MASK16
|
cpu.psw_n = pival & cpu.SIGN16
|
||||||
cpu.psw_z = (pival == 0)
|
cpu.psw_z = (pival == 0)
|
||||||
cpu.psw_v = 0
|
cpu.psw_v = 0
|
||||||
cpu.stackpush(pival)
|
cpu.stackpush(pival)
|
||||||
|
|
Loading…
Add table
Reference in a new issue