diff --git a/bochs/bxdisasm.cc b/bochs/bxdisasm.cc index c17f0dbe8..03c593674 100644 --- a/bochs/bxdisasm.cc +++ b/bochs/bxdisasm.cc @@ -2,7 +2,7 @@ // $Id$ ///////////////////////////////////////////////////////////////////////// // -// Copyright (c) 2014-2017 Stanislav Shwartsman +// Copyright (c) 2014-2020 Stanislav Shwartsman // Written by Stanislav Shwartsman [sshwarts at sourceforge net] // // This library is free software; you can redistribute it and/or @@ -21,7 +21,7 @@ ///////////////////////////////////////////////////////////////////////// // Compile using: -// g++ -I. -I./instrument/stubs -DBX_STANDALONE_DECODER bxdisasm_new.cc cpu/decoder/*.cc -o bxdisasm +// g++ -I. -I./instrument/stubs -DBX_STANDALONE_DECODER bxdisasm.cc cpu/decoder/*.cc -o bxdisasm #include #include @@ -60,7 +60,6 @@ int main(int argn, const char **argv) char disbuf[256]; Bit8u ibuf[16] = {0}; bx_bool is_32 = 1, is_64 = 0; - unsigned len; if (argn < 2) { @@ -68,7 +67,7 @@ int main(int argn, const char **argv) exit(1); } - for (unsigned i=1;i