diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-07-03 15:37:45 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-07-03 15:37:45 -0700 |
commit | c833fbad65e39c12dde44bdff09fadd822d2b52c (patch) | |
tree | 355837213a67741457da836bbf5dfc931e5bc9c5 /subx | |
parent | d2026fa73bbfe76f8ca21b032aa0f02dd2c46a8a (diff) | |
download | mu-c833fbad65e39c12dde44bdff09fadd822d2b52c.tar.gz |
4310
Temporarily do all prints in hex.
Diffstat (limited to 'subx')
-rw-r--r-- | subx/020elf.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/subx/020elf.cc b/subx/020elf.cc index 40aa57df..24ec1fcc 100644 --- a/subx/020elf.cc +++ b/subx/020elf.cc @@ -5,6 +5,7 @@ assert(argc > 1); if (is_equal(argv[1], "run")) { assert(argc > 2); reset(); + cerr << std::hex; load_elf(argv[2]); while (EIP < End_of_program) // weak final-gasp termination check run_one_instruction(); |