diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-02 11:46:30 -0400 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-02 11:46:30 -0400 |
commit | 26d764de5d3c7cd48ecae95f0cbfb9f368388162 (patch) | |
tree | aef0bd70a7483411c18cd1f602466d7b8608c8fa /macros/code.asm | |
parent | fce6243b432d1df1b4ab244023be738a54dbe8f3 (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 9de3dd1ec..e393d4951 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] |