From 89b50c83ba78d3d91608fbfdeb79f3398e8c902d Mon Sep 17 00:00:00 2001 From: Kwarde Date: Thu, 24 Jul 2025 16:30:06 +0200 Subject: [PATCH] Fix last perror test --- src/tests.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests.asm b/src/tests.asm index dafadc5..15760df 100644 --- a/src/tests.asm +++ b/src/tests.asm @@ -294,7 +294,7 @@ _start: ; TEST 7: perror('Test') ;rax=-999 printTest(perror_invalid2) mov rax, -999 - xor rdi, rdi + lea rdi, [rel perrorStr] call perror assert_eq(-999) %endif