diff --git a/Exemples/main.c b/Exemples/main.c new file mode 100644 index 0000000..5bf93a9 --- /dev/null +++ b/Exemples/main.c @@ -0,0 +1,9 @@ +#include +#include + +int main (int argc, char *argv[]) +{ + + + return EXIT_SUCCESS; +} diff --git a/Exemples/main.s b/Exemples/main.s new file mode 100644 index 0000000..83dcea6 --- /dev/null +++ b/Exemples/main.s @@ -0,0 +1,19 @@ + .section __TEXT,__text,regular,pure_instructions + .build_version macos, 11, 0 sdk_version 11, 1 + .globl _main ; -- Begin function main + .p2align 2 +_main: ; @main + .cfi_startproc +; %bb.0: + sub sp, sp, #16 ; =16 + .cfi_def_cfa_offset 16 + mov w8, #0 + str wzr, [sp, #12] + str w0, [sp, #8] + str x1, [sp] + mov x0, x8 + add sp, sp, #16 ; =16 + ret + .cfi_endproc + ; -- End function +.subsections_via_symbols