diff --git a/InstructionSets/x86/Implementation/Resolver.hpp b/InstructionSets/x86/Implementation/Resolver.hpp index f64239d6b..23e23d9c2 100644 --- a/InstructionSets/x86/Implementation/Resolver.hpp +++ b/InstructionSets/x86/Implementation/Resolver.hpp @@ -199,7 +199,9 @@ typename Accessor::type resolve( // If execution has reached here then a memory fetch is required. // Do it and exit. - return context.memory.template access(instruction.data_segment(), target_address); + // + // TODO: support 32-bit addresses. + return context.memory.template access(instruction.data_segment(), uint16_t(target_address)); } }