printf(): Don't push and pop rsi before/after itoa (rsi is modified anyway)

This commit is contained in:
2025-06-25 20:52:52 +02:00
parent 9d904555eb
commit 9794c64cd5
2 changed files with 1 additions and 2 deletions

View File

@ -118,9 +118,7 @@ printf:
push rdx
push r8
push r10
push rsi
call itoa
pop rsi
pop r10
pop r8
pop rdx

View File

@ -15,3 +15,4 @@ file.o: file.asm
clean:
rm -f tests *.lst *.o testFile1.txt
all: clean tests