about summary refs log tree commit diff stats
path: root/subx/066print-byte.subx
diff options
context:
space:
mode:
Diffstat (limited to 'subx/066print-byte.subx')
-rw-r--r--subx/066print-byte.subx7
1 files changed, 0 insertions, 7 deletions
diff --git a/subx/066print-byte.subx b/subx/066print-byte.subx
index 3335bcbf..39d7793e 100644
--- a/subx/066print-byte.subx
+++ b/subx/066print-byte.subx
@@ -5,13 +5,6 @@
 # . op          subop               mod             rm32          base        index         scale       r32
 # . 1-3 bytes   3 bits              2 bits          3 bits        3 bits      3 bits        2 bits      2 bits      0/1/2/4 bytes   0/1/2/4 bytes
 
-# main:
-    e8/call  run-tests/disp32  # 'run-tests' is a function created automatically by SubX. It calls all functions that start with 'test-'.
-    # 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
-    b8/copy-to-EAX  1/imm32/exit
-    cd/syscall  0x80/imm8
-
 print-byte:  # f : (address buffered-file), n : int -> <void>
     # . prolog
     55/push-EBP