diff options
Diffstat (limited to '105string-equal.subx')
-rw-r--r-- | 105string-equal.subx | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/105string-equal.subx b/105string-equal.subx index d3f11402..2289e514 100644 --- a/105string-equal.subx +++ b/105string-equal.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 -Entry: # run all tests -#? e8/call test-compare-equal-strings/disp32 - 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 - e8/call syscall_exit/disp32 - string-equal?: # s: (addr array byte), benchmark: (addr array byte) -> result/eax: boolean # pseudocode: # if (s->size != benchmark->size) return false |