INCLUDE C:\IRVINE\IRVINE32.INC
.386
.STACK 4096
EXITPROCESS PROTO,DWEXITCODE:DWORD
.DATA
val1 dword 15
val2 dword 34
val3 dword 77
str1 byte "V5 is : ",0
.CODE
MAIN PROC
mov edx,0
mov eax,val2
mov ebx,98
div ebx
mov ebx,val1
add eax,ebx
mov ebx,eax
mov eax,val3
mov ecx,5
mul ecx
add eax,ebx
mov edx,OFFSET str1
call WriteString
call WriteInt
INVOKE EXITPROCESS,0
MAIN ENDP
END MAIN
No comments:
Post a Comment