Consistently do & alignMask, not % alignSize

Also add more unrelated tests for coverage
This commit is contained in:
Rangi42
2025-09-23 11:53:05 -04:00
parent 96a75500d3
commit ca4b890273
10 changed files with 98 additions and 38 deletions

View File

@@ -30,3 +30,26 @@ warning: CHARSUB: Position 999 is past the end of the string [-Wbuiltin-args]
at deprecated-functions.asm(15)
warning: STRCHAR: Index 999 is past the end of the string [-Wbuiltin-args]
at deprecated-functions.asm(15)
warning: `STRSUB` is deprecated; use 0-indexed `STRSLICE` instead [-Wobsolete]
at deprecated-functions.asm(26)
error: STRSUB: Invalid UTF-8 byte 0xA3
at deprecated-functions.asm(26)
error: STRSUB: Incomplete UTF-8 character
at deprecated-functions.asm(26)
warning: `STRSUB` is deprecated; use 0-indexed `STRSLICE` instead [-Wobsolete]
at deprecated-functions.asm(27)
error: STRSUB: Invalid UTF-8 byte 0xA3
at deprecated-functions.asm(27)
warning: STRSUB: Position 9 is past the end of the string [-Wbuiltin-args]
at deprecated-functions.asm(27)
error: STRSUB: Incomplete UTF-8 character
at deprecated-functions.asm(27)
warning: `STRSUB` is deprecated; use 0-indexed `STRSLICE` instead [-Wobsolete]
at deprecated-functions.asm(28)
error: STRSUB: Invalid UTF-8 byte 0xA3
at deprecated-functions.asm(28)
warning: STRSUB: Position 12 is past the end of the string [-Wbuiltin-args]
at deprecated-functions.asm(28)
error: STRSUB: Incomplete UTF-8 character
at deprecated-functions.asm(28)
Assembly aborted with 6 errors!