Merge branch 'master' into dos
This commit is contained in:
commit
d2146f64ac
1 changed files with 3 additions and 2 deletions
1
cpu.cpp
1
cpu.cpp
|
@ -1111,6 +1111,7 @@ void cpu::trap(const uint16_t vector)
|
||||||
{
|
{
|
||||||
pushStack(getPSW());
|
pushStack(getPSW());
|
||||||
pushStack(getPC());
|
pushStack(getPC());
|
||||||
|
|
||||||
setPSW(b->readWord(vector + 2));
|
setPSW(b->readWord(vector + 2));
|
||||||
setPC (b->readWord(vector + 0));
|
setPC (b->readWord(vector + 0));
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue