Program for add integers from 1-1000, Visual Basic Programming

Using Visual Studio 2010 C++

1) Using Windows Explorer, make a copy of

Irvine\examples\Project_sample

folder in the folder where you keep your materials for this course.

Rename the folder to Week3A.

2) Copy template.asm (created above) into the Week3A folder and rename it

Add1000.asm

3) Open the project from VC++, remove main.asm from the project, and add Add1000.asm to the project.

4) Write an assembly language program that will add all of the integers from 1 through 1000 and place the sum in register eax.

a) Add a DumpRegs command before the end of the program.

b) Your program must use a loop which repeatedly adds the next integer to a running sum. (Do not use a mathematical shortcut.)

c) When your facilitator replaces the number 1000 by some other positive integer in your code, your program must still execute correctly.

 

Posted Date: 3/5/2013 7:03:07 AM | Location : United States







Related Discussions:- Program for add integers from 1-1000, Assignment Help, Ask Question on Program for add integers from 1-1000, Get Answer, Expert's Help, Program for add integers from 1-1000 Discussions

Write discussion on Program for add integers from 1-1000
Your posts are moderated
Related Questions
Methods: VBScript Dictionary Object Method D escription Add Method Adds a key, item pair. Exists Method

FILES IN A VB PROJECT The project file has the.vbp extension. The form in which we draw has the .frm extension; .mod denotes the module file; .cls denotes the class file; .res

WINDOWS PROGRAMMING The Windows programming is a developing application using the C and the native Win32 application interface (API) or C++ and the class libraries like Microso

Difference between Class Module and Standard Module? Standard module: -This place for variable declarations,procedures etc.& it can accessed these procedures in whereve

sir , i need visual basic form design & coding for Reynolds number & type of flow .

how to add the hangman images

The Refresh Method: The refresh method transfer to the first record in the record set. To invoke the refresh method follow the syntax which is as shown below: Form1.Data1.R


MODULE The Modules are the collection of VB statements. Modules are used to simplify the program development. To add a module to your project, choose the project tabpage, and t

write a detailed account on ADO.net architecture.