From 232c7309e649f6dfeb093d00abf826982a9e2170 Mon Sep 17 00:00:00 2001 From: folkert van heusden Date: Sun, 10 Apr 2022 13:57:45 +0200 Subject: [PATCH] assert on M.PD as it is not implemented yet --- cpu.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cpu.cpp b/cpu.cpp index 6e136c1..28ddfa4 100644 --- a/cpu.cpp +++ b/cpu.cpp @@ -1086,6 +1086,9 @@ bool cpu::single_operand_instructions(const uint16_t instr) } case 0b00110101: { // MFPD/MFPI + // always words: word_mode-bit is to select between MTPI and MTPD + assert(!word_mode); // TODO + // calculate address in current address space uint16_t a = getGAMAddress(dst_mode, dst_reg, false, false); // reed from previous space @@ -1103,6 +1106,7 @@ bool cpu::single_operand_instructions(const uint16_t instr) case 0b00110110: { // MTPI/MTPD // always words: word_mode-bit is to select between MTPI and MTPD + assert(!word_mode); // TODO // retrieve word from '15/14'-stack uint16_t v = popStack();