--- nono/m88xx0/m88100disasm.h 2026/04/29 17:04:31 1.1 +++ nono/m88xx0/m88100disasm.h 2026/04/29 17:04:41 1.1.1.3 @@ -1,31 +1,31 @@ // // nono -// Copyright (C) 2020 isaki@NetBSD.org +// Copyright (C) 2020 nono project +// Licensed under nono-license.txt // #pragma once -#include "header.h" #include "disasm.h" #include "m88100.h" class m88100disasm : public Disasm { - typedef Disasm inherited; + using inherited = Disasm; public: - m88100disasm(DebuggerMD *m); - virtual ~m88100disasm(); + m88100disasm(DebuggerMD *md); + ~m88100disasm() override; - virtual bool Exec(saddr_t laddr); + bool Exec(saddr_t laddr) override; private: - uint32 peek(); - uint32 fetch(); + bool opt_alias {}; // いくつかの命令を別名にディスアセンブルする - uint32 xip = 0; - uint32 phys_xip = 0; + uint32 peek(const saddr_t& laddr); - uint32 opX = 0; + uint32 xip {}; + + uint32 opX {}; std::string name {}; std::string arg0 {}; std::string arg1 {};