fork(1) download
  1. .data
  2. format1: .string "Multiply : %u * %u = %llu\n"
  3. format2: .string "Divide : %u / %u = %u\n"
  4. .text
  5. .globl main
  6. main:
  7. subl $8, %esp
  8. movl $4000000000, -4(%ebp)
  9. movl $4, -8(%ebp)
  10.  
  11. # operation multiply
  12. movl -4(%ebp), %eax
  13. mull -8(%ebp)
  14. pushl %edx
  15. pushl %eax
  16. pushl -8(%ebp)
  17. pushl -4(%ebp)
  18. pushl $format1
  19. call printf
  20.  
  21. addl $28, %esp
  22. xor %eax, %eax
  23. ret
Success #stdin #stdout 0.01s 1568KB
stdin
Standard input is empty
stdout
Multiply : 4000000000 * 4 = 16000000000