diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-02 11:46:39 -0400 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-02 11:46:39 -0400 |
commit | 92f96e8c783d62359b19d6db26995b2b4a965417 (patch) | |
tree | 0fe2f4e87bfff2a3ccee1c4e855738bb340348a1 /macros/code.asm | |
parent | e6f75432928ccd915016162a68df43b0adf6ce04 (diff) |
Use STRCMP, not ==, to compare multi-character strings
Diffstat (limited to 'macros/code.asm')
-rw-r--r-- | macros/code.asm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macros/code.asm b/macros/code.asm index 9de3dd1e..e393d495 100644 --- a/macros/code.asm +++ b/macros/code.asm @@ -11,7 +11,7 @@ ENDM ; Design patterns jumptable: MACRO -if "\2" == "hl" +if !STRCMP("\2", "hl") ld a, [hl] else ld a, [\2] |