Created
November 20, 2019 15:52
-
-
Save aledruetta/3c4de38da06d5b74a3bbdd1385a67117 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.arch armv6 | |
.eabi_attribute 28, 1 | |
.eabi_attribute 20, 1 | |
.eabi_attribute 21, 1 | |
.eabi_attribute 23, 3 | |
.eabi_attribute 24, 1 | |
.eabi_attribute 25, 1 | |
.eabi_attribute 26, 2 | |
.eabi_attribute 30, 6 | |
.eabi_attribute 34, 1 | |
.eabi_attribute 18, 4 | |
.file "hello.c" | |
.text | |
.section .rodata | |
.align 2 | |
.LC0: | |
.ascii "Hello World!\000" | |
.text | |
.align 2 | |
.global main | |
.arch armv6 | |
.syntax unified | |
.arm | |
.fpu vfp | |
.type main, %function | |
main: | |
@ args = 0, pretend = 0, frame = 0 | |
@ frame_needed = 1, uses_anonymous_args = 0 | |
push {fp, lr} | |
add fp, sp, #4 | |
ldr r0, .L3 | |
bl printf | |
mov r3, #0 | |
mov r0, r3 | |
pop {fp, pc} | |
.L4: | |
.align 2 | |
.L3: | |
.word .LC0 | |
.size main, .-main | |
.ident "GCC: (Raspbian 8.3.0-6+rpi1) 8.3.0" | |
.section .note.GNU-stack,"",%progbits |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment