Skip to content

Instantly share code, notes, and snippets.

@RichardBarrell
Created July 14, 2014 11:02
Show Gist options
  • Save RichardBarrell/ceaf5865d5647141094d to your computer and use it in GitHub Desktop.
Save RichardBarrell/ceaf5865d5647141094d to your computer and use it in GitHub Desktop.
int hork(int x, int y)
{
return x * (x + y);
}
.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