Rename int2str/uint2str -> dec2str/udec2str

This commit is contained in:
2025-07-08 17:49:38 +02:00
parent ee14dbb853
commit f8df1242fc
3 changed files with 21 additions and 21 deletions

View File

@@ -1,8 +1,8 @@
%include "src/constants.asm"
extern strlen
extern int2str
extern uint2str
extern dec2str
extern udec2str
section .rodata
mNL db NL
@@ -166,11 +166,11 @@ printf:
cmp byte [rdi + 1], 'd'
je .callINT2STR
mov rdi, rsi
call uint2str
call udec2str
jmp .loadConvertedStr
.callINT2STR:
mov rdi, rsi
call int2str
call dec2str
.loadConvertedStr:
mov rsi, rax
add rsp, SIZE_QWORD