summaryrefslogtreecommitdiff
path: root/isa
diff options
context:
space:
mode:
authorJulian Blake Kongslie2022-11-05 12:54:08 -0700
committerJulian Blake Kongslie2022-11-05 12:54:08 -0700
commit6e248c2b48c3322ee6887eafaa3402788ba53740 (patch)
tree7f7b03b29aa16bdae136defb81ecbbec9d68e545 /isa
parentFix implementation of IAC microinstruction (diff)
downloadbiggolf-6e248c2b48c3322ee6887eafaa3402788ba53740.tar.xz
Convert unimplemented IOT device error into a warning
Diffstat (limited to 'isa')
-rw-r--r--isa/decode.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/isa/decode.cpp b/isa/decode.cpp
index df263ad..5484234 100644
--- a/isa/decode.cpp
+++ b/isa/decode.cpp
@@ -306,8 +306,7 @@ instruction_context decode(std::uint_fast32_t flags, unsigned int pc, unsigned i
306 break; 306 break;
307 default: 307 default:
308 inst.ef = [bits](auto &ctx) { 308 inst.ef = [bits](auto &ctx) {
309 std::cerr << "unimplemented IOT device " << ((bits >> 6) & 07) << ((bits >> 3) & 07) << " suboperation " << (bits & 07) << "\n"; 309 std::cerr << "warning: unimplemented IOT device " << ((bits >> 6) & 07) << ((bits >> 3) & 07) << " suboperation " << (bits & 07) << "\n";
310 assert(false);
311 }; 310 };
312 } 311 }
313 break; 312 break;