diff --git a/src/console.asm b/src/console.asm index 14bf615..6df076d 100644 --- a/src/console.asm +++ b/src/console.asm @@ -138,7 +138,7 @@ printf: mov rsi, [printfArgs + SIZE_QWORD * rdx] jmp .insertString .s_fromStack: - lea rsi, [rbp + RBP_OFFSET_CALLER + ((rdx-5) * SIZE_QWORD)] + mov rsi, [rbp + RBP_OFFSET_CALLER + ((rdx-5) * SIZE_QWORD)] ;--- Insert string to buffer ---; .insertString: