prem's
This commit is contained in:
parent
37e7a003e5
commit
7a0e5bdcd2
9
Exemples/main.c
Normal file
9
Exemples/main.c
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
int main (int argc, char *argv[])
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
return EXIT_SUCCESS;
|
||||||
|
}
|
19
Exemples/main.s
Normal file
19
Exemples/main.s
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user