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:
Rangi
2025-08-05 16:24:10 -04:00
committed by GitHub
parent a3983b7b0f
commit 39f0f9edc0
30 changed files with 95 additions and 317 deletions

View File

@@ -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