Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .model small
- .386
- .stack 200h
- .data
- a dw 90
- b dw -100
- c dw 50
- x dw 100
- rez dd 0
- .code
- start:
- mov ax, @data
- mov ds, ax
- mov ax, b
- imul b
- mov bx, a
- imul bx;;;;;
- mov bx, 4
- shl edx, 16 ; подвинул на 16 бит
- add eax, edx ; сложил с eax
- imul ebx ; умножил на ebx
- mov rez, eax
- mov ax, 3100h
- mov dx, 00ffh
- int 21h
- end start
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement