From 5b67c9bf4ab072eef3fc6c6f240df48bb38b18ce Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Fri, 13 May 2022 09:01:03 -0400 Subject: [PATCH] MOVE to SR requires supervisor privileges. --- InstructionSets/M68k/Instruction.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/InstructionSets/M68k/Instruction.hpp b/InstructionSets/M68k/Instruction.hpp index 3b805b941..58e0870d7 100644 --- a/InstructionSets/M68k/Instruction.hpp +++ b/InstructionSets/M68k/Instruction.hpp @@ -116,6 +116,7 @@ constexpr bool requires_supervisor(Operation op) { case Operation::EORItoSR: case Operation::RTE: case Operation::RESET: case Operation::STOP: case Operation::MOVEtoUSP: case Operation::MOVEfromUSP: + case Operation::MOVEtoSR: return true; default: