Undeprecate ld [$ff00+c] (#1619)

This commit is contained in:
Rangi
2025-01-20 14:05:15 -05:00
committed by GitHub
parent 147a5c9bf3
commit 2426068409
7 changed files with 35 additions and 22 deletions

View File

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