Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .386
- .model flat, stdcall
- include c:\masm32\include\masm32rt.inc
- option casemap : none
- .code
- start:
- mov eax, 0
- mov ebx, 0
- mov al, 22
- mov bl, 3
- mul bl
- mov bh, al
- mov ax, 45
- mov bl, 6
- div bl
- sub bh, al
- mov ax, 0
- mov al, bh
- mov bl, 14
- div bl
- mov bh, al
- mov al, 7
- mov bl, 5
- mul bl
- mov ah, al
- mov al, 134
- sub al, ah
- mov ah, 0
- mov bl, 13
- div bl
- mov bl, al
- mov ax, 0
- mov al, bh
- div bl
- mov bl, 2
- mul bl
- add ax, 4
- printf ("%d\n", ax)
- invoke ExitProcess, 0
- ret
- end start
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement