From 5db0ea02362e22025f54f6fdeb762a36a200b7e3 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Thu, 5 May 2022 21:11:02 -0400 Subject: [PATCH] Add note for my tomorrow self. --- .../M68k/Implementation/ExecutorImplementation.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/InstructionSets/M68k/Implementation/ExecutorImplementation.hpp b/InstructionSets/M68k/Implementation/ExecutorImplementation.hpp index f40d7d5d5..f1193b715 100644 --- a/InstructionSets/M68k/Implementation/ExecutorImplementation.hpp +++ b/InstructionSets/M68k/Implementation/ExecutorImplementation.hpp @@ -485,6 +485,12 @@ void Executor::movem(Preinstruction instruction, uint32_t sou } else { // Move memory to registers. + // + // Another 68000 convention has been broken here; the instruction form is: + // MOVEM , # + // ... but the instruction is encoded as [MOVEM] [#] [ea]. + // + // TODO: solve this. int index = 0; while(dest) { if(dest & 1) {