Use STRCMP, not ==, to compare multi-character strings

This commit is contained in:
Rangi
2020-07-02 11:46:30 -04:00
parent fce6243b43
commit 26d764de5d
3 changed files with 6 additions and 5 deletions

View File

@@ -11,7 +11,7 @@ ENDM
; Design patterns
jumptable: MACRO
if "\2" == "hl"
if !STRCMP("\2", "hl")
ld a, [hl]
else
ld a, [\2]