From 38126fed44e9e53fce170be3f2b34f06fecf38dc Mon Sep 17 00:00:00 2001 From: Kwarde Date: Mon, 14 Jul 2025 13:50:35 +0200 Subject: [PATCH] Correct printf12 --- src/tests.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests.asm b/src/tests.asm index 08a331b..fa4c313 100644 --- a/src/tests.asm +++ b/src/tests.asm @@ -103,7 +103,7 @@ section .rodata printf10Str db "%x | %8x | %08x",NL,EOS printf11 db TAB,"printf(",DQUO,"%X | %8X | %08X\n",DQUO,", 0xAB0F, 0xBA0F, 0xAB0F): ",NL,TAB,TAB,EOS printf11Str db "%X | %8X | %08X",NL,EOS - printf12 db TAB,"rax=0x1234567890ABCDEF",NL,TAB,"printf(",DQUO,"\nRAX = %064b\nEAX = %64b\n AX = %56b \n AH = %64b\n AL = %64b\n",DQUO,", rax, eax, ax, ah, al): ",NL,TAB,TAB,EOS + printf12 db TAB,"rax=0x1234567890ABCDEF",NL,TAB,"printf(",DQUO,"\nRAX = %064b\nEAX = %64b\n AX = %56b\t\n AH = %64b\n AL = %64b\n",DQUO,", rax, eax, ax, ah, al): ",NL,TAB,TAB,EOS printf12Str db "\nRAX = %064b\nEAX = %64b\n AX = %64b\n AH = %56b\t\n AL = %64b\n",EOS ; strlen()