From c7a5b054dba69f9f059081635fabf024183fa957 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Fri, 3 Jan 2020 22:44:19 -0500 Subject: [PATCH] There's no TODO here; overflow is always 0 for a 16x16 multiply. ... and the original 68000 doesn't support 32x32 multiplies. --- Processors/68000/Implementation/68000Implementation.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Processors/68000/Implementation/68000Implementation.hpp b/Processors/68000/Implementation/68000Implementation.hpp index 25dc6125e..02679660d 100644 --- a/Processors/68000/Implementation/68000Implementation.hpp +++ b/Processors/68000/Implementation/68000Implementation.hpp @@ -940,7 +940,7 @@ template void Proces case Operation::MULU: { destination()->full = destination()->halves.low.full * source()->halves.low.full; - carry_flag_ = overflow_flag_ = 0; // TODO: "set if overflow". + carry_flag_ = overflow_flag_ = 0; zero_result_ = destination()->full; negative_flag_ = zero_result_ & 0x80000000; @@ -954,7 +954,7 @@ template void Proces case Operation::MULS: { destination()->full = u_extend16(destination()->halves.low.full) * u_extend16(source()->halves.low.full); - carry_flag_ = overflow_flag_ = 0; // TODO: "set if overflow". + carry_flag_ = overflow_flag_ = 0; zero_result_ = destination()->full; negative_flag_ = zero_result_ & 0x80000000;