mirror of
https://github.com/gbdev/rgbds.git
synced 2025-12-01 23:37:48 +00:00
Remove previously deprecated features (#1777)
- Treating multi-unit strings as numbers - `rgbasm -Wnumeric-string` - `ldio [c], a` and `ldio a, [c]` (use `ldh`) - `ld [c], a` and `ld a, [c]` (use `ldh`) - `ldh [$xx], a` and `ldh a, [$xx]` (use `$FFxx`)
This commit is contained in:
@@ -24,12 +24,12 @@ dl "AB" ; dl $01234567, $fedcba98
|
||||
|
||||
charmap "C", $01, $23, $45, $67
|
||||
charmap "D", $fe, $dc, $ba, $98
|
||||
assert "C" == $01234567
|
||||
assert "D" == $fedcba98
|
||||
assert CHARVAL("C", 0) == $01 && CHARVAL("C", 3) == $67
|
||||
assert CHARVAL("D", 1) == $dc && CHARVAL("D", 2) == $ba
|
||||
db "CD" ; db $01, $23, $45, $67, $fe, $dc, $ba, $98
|
||||
dw "CD" ; dw $01, $23, $45, $67, $fe, $dc, $ba, $98
|
||||
|
||||
charmap "E", $01, $2345, $6789ab, $cdef
|
||||
assert "E" == $0145abef
|
||||
assert CHARSIZE("E") == 4 && CHARVAL("E", 2) == $6789ab
|
||||
db "E" ; db $01, $2345, $6789ab, $cdef (truncated to $01, $45, $ab, $ef)
|
||||
dl "E" ; dl $01, $2345, $6789ab, $cdef
|
||||
|
||||
Reference in New Issue
Block a user