From 4e647f4f21923bbfa7e098c87b0d07ba92bc643f Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Tue, 20 Nov 2018 23:18:49 -0800 Subject: 4759 --- subx/050_write.subx | 4 ++-- subx/052kernel_string_equal.subx | 2 +- subx/054string_equal.subx | 2 +- subx/055trace.subx | 2 +- subx/056write.subx | 2 +- subx/057stop.subx | 4 ++-- subx/058read.subx | 2 +- subx/059read-byte.subx | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-) (limited to 'subx') 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) -- cgit 1.4.1-2-gfad0