14 lines
173 B
ArmAsm
14 lines
173 B
ArmAsm
.intel_syntax noprefix
|
|
|
|
.text
|
|
.globl add
|
|
.type add, @function
|
|
|
|
# rdi - arg1
|
|
# rsi - arg2
|
|
add:
|
|
lea eax, [rdi + rsi]
|
|
ret
|
|
ret
|
|
|
|
.section .note.GNU-stack,"",@progbits
|