diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-02-17 15:26:49 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-02-17 15:26:49 -0800 |
commit | 6323661c2c588c4fed280f55f20ca3bbc92edb27 (patch) | |
tree | e6735da9e44c1322c76c9db4b2950729d398e1db /052kernel-string-equal.subx | |
parent | cb9a1f0331bbb648982cfb551f5384b6c2df0e57 (diff) | |
download | mu-6323661c2c588c4fed280f55f20ca3bbc92edb27.tar.gz |
6014
Diffstat (limited to '052kernel-string-equal.subx')
-rw-r--r-- | 052kernel-string-equal.subx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/052kernel-string-equal.subx b/052kernel-string-equal.subx index 369fee90..dca4d399 100644 --- a/052kernel-string-equal.subx +++ b/052kernel-string-equal.subx @@ -84,7 +84,7 @@ $kernel-string-equal?:loop: # c2 = *s2 8a/copy-byte 0/mod/indirect 6/rm32/esi . . . 3/r32/BL . . # copy byte at *esi to BL # if (c1 == 0) return false - 3d/compare-eax-and 0/imm32 + 3d/compare-eax-and 0/imm32/null 74/jump-if-= $kernel-string-equal?:false/disp8 # if (c1 != c2) return false 39/compare 3/mod/direct 0/rm32/eax . . . 3/r32/ebx . . # compare eax and ebx @@ -99,7 +99,7 @@ $kernel-string-equal?:loop: $kernel-string-equal?:break: # return *s1 == 0 8a/copy-byte 0/mod/indirect 7/rm32/edi . . . 0/r32/AL . . # copy byte at *edi to AL - 3d/compare-eax-and 0/imm32 + 3d/compare-eax-and 0/imm32/null 75/jump-if-!= $kernel-string-equal?:false/disp8 $kernel-string-equal?:true: b8/copy-to-eax 1/imm32 |