Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .486
- .model flat, stdcall
- INCLUDE stdlib.inc
- INCLUDELIB msvcrt.lib
- .Data
- a dd ?
- t1 db ?
- t2 db ?
- e1 dd 2
- e2 dd 3
- .CODE
- main:
- mov eax, a
- cdq
- idiv e1
- mov t1,dl
- mov eax,a
- cdq
- idiv e2
- mov t2,dl
- mov al,t1
- mov ah,t2
- call exit
- END main
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement