Advertisement
Guest User

Untitled

a guest
Dec 10th, 2018
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. section .text
  2. mov ax, x
  3. mov bx, y
  4. mov cx, bx
  5. inc ax
  6. add ax, bx
  7. sub ax, ax
  8. add ax, bx
  9. not cx
  10. sub ax, cx
  11. xor dx, dx
  12. mul ax
  13. inc ax
  14. inc bx
  15. add ax, bx
  16. mul bx
  17. mov rcx, x
  18. call puts
  19.  
  20. section .data
  21. x: dw 04h
  22. y: dw 0ah
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement