~maelkum/viuavm

dec6002a4ddbce5c98cebda522d953f5f79feb96 — Marek Marecki 9 days ago 2a79e79
Handle invalid instructions

Just in case.
1 files changed, 3 insertions(+), 3 deletions(-)

M new/src/tools/exec/dis.cpp
M new/src/tools/exec/dis.cpp => new/src/tools/exec/dis.cpp +3 -3
@@ 228,9 228,9 @@ auto main(int argc, char* argv[]) -> int
            case R:
                std::cout << viua::arch::ops::R::decode(ip).to_string();
                break;
            /* default: */
            /*     std::cout << "; " << std::string(16, '^') << " invalid instruction"; */
            /*     break; */
            default:
                std::cout << "; " << std::string(16, '^') << " invalid instruction";
                break;
            }
            std::cout << "\n";
        }