Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- section .text
- mov ax, x
- mov bx, y
- mov cx, bx
- inc ax
- add ax, bx
- sub ax, ax
- add ax, bx
- not cx
- sub ax, cx
- xor dx, dx
- mul ax
- inc ax
- inc bx
- add ax, bx
- mul bx
- mov rcx, x
- call puts
- section .data
- x: dw 04h
- y: dw 0ah
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement