From ba5f142515b25ff5cdd4be57fa69b749fd1f2121 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Tue, 5 Mar 2024 10:55:44 -0500 Subject: [PATCH] Take further stab at TEQ PC, etc. --- InstructionSets/ARM/Executor.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/InstructionSets/ARM/Executor.hpp b/InstructionSets/ARM/Executor.hpp index 81f3f34e9..3b0a3c0e6 100644 --- a/InstructionSets/ARM/Executor.hpp +++ b/InstructionSets/ARM/Executor.hpp @@ -183,9 +183,9 @@ struct Executor { // this case to update those PSR flags which are not protected by virtue of the // processor mode." - if(fields.destination() == 15 && !is_logical(flags.operation())) { + if(fields.destination() == 15) { if constexpr (is_comparison(flags.operation())) { - registers_.set_status(pc_proxy); + registers_.set_status(conditions); } else { registers_.set_status(pc_proxy); registers_.set_pc(pc_proxy);