From fe8f0d960d0f4c8c94634558d68d6a134afad43f Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Sun, 1 May 2022 15:30:03 -0400 Subject: [PATCH] Equivocate. (Specifically: addresses cannot generally be obtained in advance, as they are often the product of registers, but things like displacements, immediate values and absolute addresses can) --- InstructionSets/M68k/Implementation/ExecutorImplementation.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/InstructionSets/M68k/Implementation/ExecutorImplementation.hpp b/InstructionSets/M68k/Implementation/ExecutorImplementation.hpp index 849d011b4..1334102bb 100644 --- a/InstructionSets/M68k/Implementation/ExecutorImplementation.hpp +++ b/InstructionSets/M68k/Implementation/ExecutorImplementation.hpp @@ -214,7 +214,8 @@ void Executor::run_for_instructions(int count) { // rather than addresses; and (ii) then they'll be there for use // by LEA and PEA. // - // TODO: this work should be performed by a full Decoder, so that it can be cached. + // TODO: much of this work should be performed by a full Decoder, + // so that it can be cached. effective_address_[0] = calculate_effective_address(instruction, opcode, 0); effective_address_[1] = calculate_effective_address(instruction, opcode, 1); operand_[0] = effective_address_[0].value;