diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-10-02 21:20:14 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-10-02 21:20:14 -0700 |
commit | 6a1b3a69305124efcfe3164f37ec7fd0cd279540 (patch) | |
tree | 56e276b9f173f0b9918667a20be62b294f3b6054 /subx | |
parent | 2f73654b742d2a446d2f5b2bacebda7d9b9cf457 (diff) | |
download | mu-6a1b3a69305124efcfe3164f37ec7fd0cd279540.tar.gz |
4657
Diffstat (limited to 'subx')
-rw-r--r-- | subx/052kernel_string_equal.subx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/subx/052kernel_string_equal.subx b/subx/052kernel_string_equal.subx index ead2f034..6c15d7af 100644 --- a/subx/052kernel_string_equal.subx +++ b/subx/052kernel_string_equal.subx @@ -53,6 +53,7 @@ kernel_string_equal: # s : null-terminated ascii string, benchmark : length-pre # if c1 != c2 # return false # return *s1 == 0 + # # initialize s into EDI 8b/copy 1/mod/*+disp8 4/rm32/sib 5/base/EBP 4/index/none . 7/r32/EDI 8/disp8 . # copy *(EBP+8) to EDI # initialize benchmark length n into EDX |