about summary refs log tree commit diff stats
path: root/subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-06-28 15:54:52 -0700
committerKartik Agaram <vc@akkartik.com>2018-06-28 15:54:52 -0700
commit508bd3ade51a4975d19a61f2b7ef67cc7137ae20 (patch)
tree53cfe9a86455b163eb85b3e6a830f5bf10cf67bd /subx
parent96b2216bf8982f9cc16a316d4c92cf90041a948d (diff)
downloadmu-508bd3ade51a4975d19a61f2b7ef67cc7137ae20.tar.gz
4283
Diffstat (limited to 'subx')
-rw-r--r--subx/020elf.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/subx/020elf.cc b/subx/020elf.cc
index a065e9fb..e217755f 100644
--- a/subx/020elf.cc
+++ b/subx/020elf.cc
@@ -6,7 +6,7 @@ if (is_equal(argv[1], "run")) {
   assert(argc > 2);
   reset();
   load_elf(argv[2]);
-  while (EIP < End_of_program)
+  while (EIP < End_of_program)  // weak final-gasp termination check
     run_one_instruction();
 }