Implement CHARVAL function (#1701)

This commit is contained in:
Rangi
2025-06-12 17:21:12 -04:00
committed by GitHub
parent fa9e29e4ce
commit 089e366ddc
7 changed files with 82 additions and 7 deletions

11
test/asm/charval.err Normal file
View File

@@ -0,0 +1,11 @@
error: charval.asm(19):
CHARVAL: No character mapping for "abc"
error: charval.asm(20):
CHARVAL: No character mapping for "cd"
error: charval.asm(21):
CHARVAL: No character mapping for "xyz"
warning: charval.asm(22): [-Wbuiltin-args]
CHARVAL: Index starts at 0
warning: charval.asm(23): [-Wbuiltin-args]
CHARVAL: Index 10 is past the end of the character mapping
error: Assembly aborted (3 errors)!