Add support for '%%' in printf()

This commit is contained in:
2025-06-25 14:21:46 +02:00
parent 1e095bec77
commit 5ead6ebdb1
2 changed files with 10 additions and 2 deletions

View File

@ -70,7 +70,7 @@ section .rodata
msgPuts db NL,NL,"# puts()",NL,EOS
msgPuts1 db "puts() test",EOS
; printf()
testStr db "Testing: %s, %s, %s, %s, %s, %s, %s, %s, %d, %s",NL,EOS
testStr db "Testing: %s, %%, %s, %s, %s, %s, %s, %s, %s, %d, %s",NL,EOS
tS1 db "one",EOS
tS2 db "two",EOS
tS3 db "three",EOS