Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- section .data
- format db '%f'
- section .bss
- broj resq 1
- section .text
- global main
- extern printf
- main:
- FLDPI
- FST qword [broj]
- mov rdi,format
- ;align 16
- movq xmm0,[broj]
- sub rsp,8
- ;number of xmm parameters
- mov rax,1
- call printf
- ;segmentation fault
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement