about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-07-03 15:37:45 -0700
committerKartik Agaram <vc@akkartik.com>2018-07-03 15:37:45 -0700
commitc833fbad65e39c12dde44bdff09fadd822d2b52c (patch)
tree355837213a67741457da836bbf5dfc931e5bc9c5
parentd2026fa73bbfe76f8ca21b032aa0f02dd2c46a8a (diff)
downloadmu-c833fbad65e39c12dde44bdff09fadd822d2b52c.tar.gz
4310
Temporarily do all prints in hex.
-rw-r--r--subx/020elf.cc1
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();