From 92f96e8c783d62359b19d6db26995b2b4a965417 Mon Sep 17 00:00:00 2001 From: Rangi Date: Thu, 2 Jul 2020 11:46:39 -0400 Subject: Use STRCMP, not ==, to compare multi-character strings --- macros/code.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'macros/code.asm') 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] -- cgit v1.2.3