mirror of
https://github.com/RRZE-HPC/asmbench.git
synced 2026-01-08 05:20:05 +01:00
33 lines
759 B
ArmAsm
33 lines
759 B
ArmAsm
.section __TEXT,__text,regular,pure_instructions
|
|
.macosx_version_min 10, 13
|
|
.globl _main ## -- Begin function main
|
|
.p2align 4, 0x90
|
|
_main: ## @main
|
|
.cfi_startproc
|
|
## %bb.0:
|
|
pushq %rbp
|
|
.cfi_def_cfa_offset 16
|
|
.cfi_offset %rbp, -16
|
|
movq %rsp, %rbp
|
|
.cfi_def_cfa_register %rbp
|
|
subq $16, %rsp
|
|
movl $0, -4(%rbp)
|
|
movl $123123123, %edi ## imm = 0x756B5B3
|
|
callq _test
|
|
leaq L_.str(%rip), %rdi
|
|
movl %eax, %esi
|
|
movb $0, %al
|
|
callq _printf
|
|
xorl %eax, %eax
|
|
addq $16, %rsp
|
|
popq %rbp
|
|
retq
|
|
.cfi_endproc
|
|
## -- End function
|
|
.section __TEXT,__cstring,cstring_literals
|
|
L_.str: ## @.str
|
|
.asciz "%d\n"
|
|
|
|
|
|
.subsections_via_symbols
|