missing octal-prefix
This commit is contained in:
parent
2334daff16
commit
d737841ffd
1 changed files with 1 additions and 1 deletions
2
cpu.cpp
2
cpu.cpp
|
@ -279,7 +279,7 @@ void cpu::setPSW(const uint16_t v, const bool limited)
|
|||
{
|
||||
if (limited) {
|
||||
// cannot replace the run-mode bits nor the set of registers
|
||||
psw = (psw & 177400) | (v & 0377);
|
||||
psw = (psw & 0177400) | (v & 0377);
|
||||
}
|
||||
else {
|
||||
psw = v & 0174377; // mask off 'unused' bits (8-10)
|
||||
|
|
Loading…
Add table
Reference in a new issue