15 lines
122 B
NASM
15 lines
122 B
NASM
|
|
||
|
format ELF
|
||
|
include 'proc32.inc'
|
||
|
section '.text' executable
|
||
|
|
||
|
public cos_ as "cos"
|
||
|
|
||
|
cos_:
|
||
|
|
||
|
fld qword[esp+4]
|
||
|
fcos
|
||
|
|
||
|
ret
|
||
|
|