diff --git a/subx/050_write.subx b/subx/050_write.subx index a058a529..78fdecdd 100644 --- a/subx/050_write.subx +++ b/subx/050_write.subx @@ -6,8 +6,8 @@ # 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: (manual test if this is the last file loaded) - # syscall(exit, 0) -- can't test these functions just yet +# main: + # syscall(exit, 0) -- can't test _write just yet bb/copy-to-EBX 0/imm32 b8/copy-to-EAX 1/imm32 cd/syscall 0x80/imm8 diff --git a/subx/052kernel_string_equal.subx b/subx/052kernel_string_equal.subx index b22ad48f..6dabd032 100644 --- a/subx/052kernel_string_equal.subx +++ b/subx/052kernel_string_equal.subx @@ -20,7 +20,7 @@ # 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: (manual test if this is the last file loaded) +# main: e8/call run-tests/disp32 # 'run-tests' is a function created automatically by SubX. It calls all functions that start with 'test-'. # 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 diff --git a/subx/054string_equal.subx b/subx/054string_equal.subx index e132d0d2..fae2514b 100644 --- a/subx/054string_equal.subx +++ b/subx/054string_equal.subx @@ -6,7 +6,7 @@ # 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: (manual test if this is the last file loaded) +# main: e8/call run-tests/disp32 # 'run-tests' is a function created automatically by SubX. It calls all functions that start with 'test-'. # 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 diff --git a/subx/055trace.subx b/subx/055trace.subx index 27d5efc8..3482eb44 100644 --- a/subx/055trace.subx +++ b/subx/055trace.subx @@ -43,7 +43,7 @@ _test-trace-stream: # 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: (manual test if this is the last file loaded) +# 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 diff --git a/subx/056write.subx b/subx/056write.subx index 5d3be45e..e751091d 100644 --- a/subx/056write.subx +++ b/subx/056write.subx @@ -21,7 +21,7 @@ # 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: (manual test if this is the last file loaded) +# 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 diff --git a/subx/057stop.subx b/subx/057stop.subx index ea122aba..cc4788f0 100644 --- a/subx/057stop.subx +++ b/subx/057stop.subx @@ -31,9 +31,9 @@ # 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: (manual test if this is the last file loaded) -#? e8/call test-stop-skips-returns-on-exit/disp32 +# main: e8/call run-tests/disp32 # 'run-tests' is a function created automatically by SubX. It calls all functions that start with 'test-'. +#? e8/call test-stop-skips-returns-on-exit/disp32 # 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 diff --git a/subx/058read.subx b/subx/058read.subx index 3b7bc792..ce4ac8b6 100644 --- a/subx/058read.subx +++ b/subx/058read.subx @@ -46,7 +46,7 @@ # 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: (manual test if this is the last file loaded) +# 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 diff --git a/subx/059read-byte.subx b/subx/059read-byte.subx index e871fbb4..92393251 100644 --- a/subx/059read-byte.subx +++ b/subx/059read-byte.subx @@ -32,7 +32,7 @@ Stdin: # 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: (manual test if this is the last file loaded) +# main: e8/call run-tests/disp32 # 'run-tests' is a function created automatically by SubX. It calls all functions that start with 'test-'. #? e8/call test-read-byte-multiple/disp32 # syscall(exit, Num-test-failures)