about summary refs log tree commit diff stats
path: root/apps/tests.subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-09-01 23:57:29 -0700
committerKartik Agaram <vc@akkartik.com>2019-09-01 23:57:29 -0700
commit604c8315bd7251daa898dd646cb8595f3700ed21 (patch)
treecb8709650e2a4b5889de02cfd684d022cb10310e /apps/tests.subx
parent7a81a4505cb98e4e07e2201f3846c5a81a7785ec (diff)
downloadmu-604c8315bd7251daa898dd646cb8595f3700ed21.tar.gz
5607
Diffstat (limited to 'apps/tests.subx')
-rw-r--r--apps/tests.subx4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/tests.subx b/apps/tests.subx
index 8f825a3a..92447067 100644
--- a/apps/tests.subx
+++ b/apps/tests.subx
@@ -48,7 +48,7 @@ Entry:  # run tests if necessary, convert stdin if not
     74/jump-if-equal  $run-main/disp8
     # run-tests()
     e8/call  run-tests/disp32
-    # return *Num-test-failures
+    # syscall(exit, *Num-test-failures)
     8b/copy                         0/mod/indirect  5/rm32/.disp32            .             .           3/r32/ebx   Num-test-failures/disp32          # copy *Num-test-failures to ebx
     eb/jump  $main:end/disp8
 $run-main:
@@ -61,7 +61,7 @@ $run-main:
     e8/call  convert/disp32
     # . . discard args
     81          0/subop/add         3/mod/direct    4/rm32/esp    .           .             .           .           .               8/imm32           # add to esp
-    # . syscall(exit, 0)
+    # syscall(exit, 0)
     bb/copy-to-ebx  0/imm32
 $main:end:
     b8/copy-to-eax  1/imm32/exit