Desi991 0 Newbie Poster

Hi all my assignment is too add and multiply 32 bit signed numbers.

INCLUDE Irvine32.inc
.data
z BYTE "Enter first integer: ", 0
c BYTE "Enter second integer: ", 0

outpt Byte "The addition of two integers is: ", 0

val dword ? 

.code
main Proc

call clrscr

mov edx, OFFSET z

call writestring

call readdec

mov val, eax

mov edx, OFFSET c 

call WRITEString

call readdec

add eax, val

call crlf

mov edx, OFFSET output

call writestring

call writedec

call crlf

exit
main endp

Here's what I did to get started. Please guide me through the assignment.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.