Deprecate LD with [C] (#1574)

This commit is contained in:
Sylvie
2024-12-10 21:13:09 -05:00
committed by GitHub
parent b18cfe6bdb
commit f44de0c7ae
7 changed files with 29 additions and 12 deletions

View File

@@ -1,9 +1,9 @@
SECTION "ff00+c or not to ff00+c", ROMX
ld a, [$ff00 + c]
ld [65280 + c], a
ldh a, [$ff00 + c]
ldh [65280 + c], a
; Not ok
ld a, [$ff01 + c]
ld [xyz + c], a
ldh a, [$ff01 + c]
ldh [xyz + c], a