Cleaned up management of unused PSW bits
This commit is contained in:
parent
85c7d0151c
commit
1e1db7b78e
24 changed files with 574 additions and 530 deletions
|
|
@ -1736,7 +1736,7 @@ PDP11.opSPL = function(opCode)
|
|||
return;
|
||||
}
|
||||
if (!(this.regPSW & PDP11.PSW.CMODE)) {
|
||||
this.regPSW = (this.regPSW & ~(PDP11.PSW.UNUSED | PDP11.PSW.PRI)) | ((opCode & 0x7) << PDP11.PSW.SHIFT.PRI);
|
||||
this.regPSW = (this.regPSW & ~PDP11.PSW.PRI) | ((opCode & 0x7) << PDP11.PSW.SHIFT.PRI);
|
||||
this.opFlags |= PDP11.OPFLAG.IRQ_DELAY;
|
||||
this.opFlags &= ~PDP11.OPFLAG.IRQ;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue