fork(3) download
  1. segment .data
  2. x1 dd 3
  3. y1 dd 2
  4. x2 dd 7
  5. y2 dd 8
  6. res dq 0
  7.  
  8. segment .text
  9. global _start
  10.  
  11. _start:
  12.  
  13. push rbp
  14. mov rbp, 16
  15.  
  16. mov eax, [x2]
  17. sub eax, [x1]
  18. imul eax, eax
  19.  
  20. mov ebx, [y2]
  21. sub ebx, [y1]
  22. imul ebx, ebx
  23.  
  24. add eax, ebx
  25. mov [res], eax
  26. finit
  27. fild [res]
  28. fsqrt
  29. fist [res]
  30. leave
  31. ret
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.asm:27: error: operation size not specified
prog.asm:29: error: operation size not specified
ld: cannot find prog.o: No such file or directory
stdout
Standard output is empty