Author Topic: sprintf_s plus printf  (Read 3 times)

Offline alCoPaUL

  • Jr. Member
  • *
  • Posts: 69
  • Country: ph
    • Webpage
sprintf_s plus printf
« on: Today at 06:06:02 PM »
imma translate this to NASM (should be ezpz) later coz i just finished this version for the other assembler..

snippet below

Code: [Select]
;r9 //      sprintf_s + printf
;r8 //      by alCoPaUL [GIMO]
;rdx //         5/15/2024
;rcx //    Brigada Ocho [b8] Productions
;call // rax
 
extrn printf:proc
extrn sprintf_s:proc
.code
main proc
sub rsp,28h
lea r8,[x]
lea rdx,[i]
lea rcx,[b]
call sprintf_s
mov r8, rax
lea rdx,[b]
lea rcx,[i]
call printf
add rsp,28h
ret
main endp
.data
x db 'Revelation 13'
........
........

pastebin link: https://pastebin.com/m54wj4QL

full file attached..

enjoy..