Rename int2str/uint2str -> dec2str/udec2str
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user