2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-26 11:51:20 +01:00
waf/demos/asm/test.S
2014-12-14 16:22:24 +01:00

24 lines
247 B
ArmAsm

#include "header.h"
.text
.align 2
.section .data
val:
.long SOME_VALUE
// Multiply input value by 421...
.global mult10
.type mult10, function
mult10:
pushq %rbp
movq %rsp,%rbp
movl val,%eax
imull %edi,%eax
popq %rbp
ret