From 58f035e31a8ab81a33792370061929ac4ab5f1b0 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Sat, 16 Mar 2019 23:05:12 -0400 Subject: [PATCH] Makes error more communicative. --- Processors/68000/Implementation/68000Implementation.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Processors/68000/Implementation/68000Implementation.hpp b/Processors/68000/Implementation/68000Implementation.hpp index 9ca26b4e3..bdf6e9a0d 100644 --- a/Processors/68000/Implementation/68000Implementation.hpp +++ b/Processors/68000/Implementation/68000Implementation.hpp @@ -70,7 +70,8 @@ template void Processor: const uint16_t next_instruction = prefetch_queue_[0].full; if(!instructions[next_instruction].micro_operations) { - std::cerr << "68000 Abilities exhausted; should schedule an instruction or something?" << std::endl; + // TODO: once all instructions are implemnted, this should be an instruction error. + std::cerr << "68000 Abilities exhausted; can't manage instruction " << std::hex << next_instruction << std::endl; return; }