I have this code in c :
#include <stdio.h>
#include <inttypes.h>
#include <stdlib.h>
extern int64_t myprintf(char* e, int64_t i,...);
int main()
{
myprintf("%s",'H','e','l','l');
exit(EXIT_SUCCESS);
}
and i compile with this command gcc -no-pie -g fnt.c mp.s -o hello.out
there is my ATT function :
movq 16(%rsp),%rax /* format */
movq 24(%rsp),%rbx /* 1er param */
movq 32(%rsp),%r8 /* 2e param */
movq 40(%rsp),%r9 /* 3e param */
movq 48(%rsp),%r10 /* 4e param */
and i cant get my C values for example --> get 'e' in %rbx ...
Thank you !