diff options
| author | Julian Blake Kongslie | 2022-11-05 12:54:08 -0700 |
|---|---|---|
| committer | Julian Blake Kongslie | 2022-11-05 12:54:08 -0700 |
| commit | 6e248c2b48c3322ee6887eafaa3402788ba53740 (patch) | |
| tree | 7f7b03b29aa16bdae136defb81ecbbec9d68e545 | |
| parent | Fix implementation of IAC microinstruction (diff) | |
| download | biggolf-6e248c2b48c3322ee6887eafaa3402788ba53740.tar.xz | |
Convert unimplemented IOT device error into a warning
Diffstat (limited to '')
| -rw-r--r-- | isa/decode.cpp | 3 |
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; |
