Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .MODEL SMALL
- .STACK 256
- .data
- Z dd 00000000h
- X dd 12345678h
- Y dd 2BADC0DEh
- result dw 3 dup (0); под результат тройное слово для избеж перепол
- .code
- begin:
- mov eax, offset X
- push eax
- mov ebx, offset Y
- push ebx
- mov ecx, offset Z
- add ecx, eax
- add ecx, ebx
- mov result, ecx
- push result
- pop result
- mov ah,9h
- int 21h
- end Begin
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement