mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-24 03:52:08 +00:00
Use code points instead of bytes for STRSUB/STRLEN
This commit is contained in:
9
test/asm/strlen.asm
Normal file
9
test/asm/strlen.asm
Normal file
@@ -0,0 +1,9 @@
|
||||
SECTION "sec", ROM0
|
||||
|
||||
xstrlen: MACRO
|
||||
PRINTV STRLEN(\1)
|
||||
PRINTT "\n"
|
||||
ENDM
|
||||
|
||||
xstrlen "ABC"
|
||||
xstrlen "カタカナ"
|
||||
Reference in New Issue
Block a user