From e0d2baae580253e3873d074d97f8ee56c52938a8 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Wed, 20 Apr 2022 08:39:43 -0400 Subject: [PATCH] Test ANDI/ORI/EORI SR/CCR, and fail BTST/BCLR/BCHG/BSET. --- OSBindings/Mac/Clock SignalTests/m68kDecoderTests.mm | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/OSBindings/Mac/Clock SignalTests/m68kDecoderTests.mm b/OSBindings/Mac/Clock SignalTests/m68kDecoderTests.mm index 62a00c74c..325c9647e 100644 --- a/OSBindings/Mac/Clock SignalTests/m68kDecoderTests.mm +++ b/OSBindings/Mac/Clock SignalTests/m68kDecoderTests.mm @@ -126,6 +126,17 @@ template NSString *operand(Preinstruction instruction) { case Operation::MOVEtoUSP: instruction = @"MOVEtoUSP"; break; case Operation::MOVEfromUSP: instruction = @"MOVEfromUSP"; break; + case Operation::ORItoSR: instruction = @"ORItoSR"; break; + case Operation::ORItoCCR: instruction = @"ORItoCCR"; break; + case Operation::ANDItoSR: instruction = @"ANDItoSR"; break; + case Operation::ANDItoCCR: instruction = @"ANDItoCCR"; break; + case Operation::EORItoSR: instruction = @"EORItoSR"; break; + case Operation::EORItoCCR: instruction = @"EORItoCCR"; break; + + case Operation::BTST: instruction = @"BTST"; break; + case Operation::BCLR: instruction = @"BCLR"; break; + case Operation::BCHG: instruction = @"BCHG"; break; + case Operation::BSET: instruction = @"BSET"; break; // For now, skip any unmapped operations. default: continue;