stack limit: trap(04)
This commit is contained in:
parent
c72a96d032
commit
5998545a90
1 changed files with 1 additions and 1 deletions
2
cpu.cpp
2
cpu.cpp
|
@ -1460,7 +1460,7 @@ void cpu::pushStack(const uint16_t v)
|
||||||
if (getRegister(6) == stackLimitRegister) {
|
if (getRegister(6) == stackLimitRegister) {
|
||||||
DOLOG(debug, true, "stackLimitRegister reached %06o while pushing %06o", stackLimitRegister, v);
|
DOLOG(debug, true, "stackLimitRegister reached %06o while pushing %06o", stackLimitRegister, v);
|
||||||
|
|
||||||
trap(123, 7); // TODO
|
trap(04, 7);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
uint16_t a = addRegister(6, rm_cur, -2);
|
uint16_t a = addRegister(6, rm_cur, -2);
|
||||||
|
|
Loading…
Add table
Reference in a new issue