This commit is contained in:
folkert van heusden 2022-03-17 16:32:41 +01:00
parent ca862e4f7f
commit 15dc1697c9

11
cpu.cpp
View file

@ -1009,6 +1009,13 @@ bool cpu::misc_operations(const uint16_t instr)
setPSW(popStack());
return true;
case 0b0000000000000011: // BPT
pushStack(getPSW());
pushStack(getPC());
setPC(b -> readWord(014));
setPSW(b -> readWord(016));
return true;
case 0b0000000000000100: // IOT
pushStack(getPSW());
pushStack(getPC());
@ -1451,6 +1458,10 @@ void cpu::disassemble()
text = "RTI";
break;
case 0b0000000000000011:
text = "BPT";
break;
case 0b0000000000000100:
text = "IOT";
break;