fork download
  1. SECTION .data
  2. A DW 10
  3. B DW 20
  4. C DW 5
  5. X DW 0
  6. SECTION .text
  7. global _start
  8. _start:
  9. mov ax, word[A]
  10. mov bx, word[B]
  11. shl bx, 1
  12. sub ax, bx
  13. mov cx, word[C]
  14. shr cx, 2
  15. add ax, cx
  16. imul ax, 6
  17. add ax, 10
  18. mov word[X], ax
  19. mov eax, 1
  20. xor ebx, ebx
  21. int 0x80
  22.  
Success #stdin #stdout 0s 5320KB
stdin
Standard input is empty
stdout
Standard output is empty