Created
July 14, 2014 11:02
-
-
Save RichardBarrell/ceaf5865d5647141094d 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
int hork(int x, int y) | |
{ | |
return x * (x + y); | |
} |
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
.syntax unified | |
.cpu cortex-a8 | |
.eabi_attribute 6, 10 | |
.eabi_attribute 7, 65 | |
.eabi_attribute 8, 1 | |
.eabi_attribute 9, 2 | |
.fpu neon | |
.eabi_attribute 10, 3 | |
.eabi_attribute 12, 1 | |
.eabi_attribute 20, 1 | |
.eabi_attribute 21, 1 | |
.eabi_attribute 23, 3 | |
.eabi_attribute 24, 1 | |
.eabi_attribute 25, 1 | |
.file "hork.c" | |
.text | |
.globl hork | |
.align 2 | |
.type hork,%function | |
hork: | |
add r1, r1, r0 | |
mul r0, r1, r0 | |
bx lr | |
.Ltmp0: | |
.size hork, .Ltmp0-hork |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment