954,479 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Need Help with this assignement

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.

Desi991
Newbie Poster
8 posts since Jan 2012
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: