; Copyright 2020 KoroLion (github.com/KoroLion) global sum section .data section .bss temp: resb 4 section .text ; sum(x, y) sum: finit fld dword [esp + 4] ; = x fadd dword [esp + 8] ; += y fst dword [temp] ; [temp] = st0 mov eax, [temp] ret