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

Using Visual Studio 2010 C++

1) Using Windows Explorer, make a copy of


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


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
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

APPWIZARD   The Appwizard is a tool used for creating a project. It follows a series of steps to create a project. Steps Involved in Creating A Project: Step 1: Fr

Software With Inappropriate Behavior: You would save a document; print it, and then you'll try to close it. The program will ask you if you want to save. This is because; the

The Select Case structure provides an option to If...Then...Else If for selectively executing one block of statements from amongst multiple blocks of statements. Any Select Case st

Message Handling: 1. The message is send to the window. And it is sent to the Window Procedure. 2. The message map holds all the message handlers. 3. The window procedur

need general help in pseudo code

Illustration of GDI object CPen: 1. Generate a SDI application. And name it as gdipen. 2. Press ctrl (control key) and W altogether to invoke the class wizard. 3. Choose

Would it be possible to see an example of an array program that tracks rent in different apartment buildings and is modular?

MODELESS DIALOG The Dialog boxes are either modal or modeless. The modal dialog box should be closed (Unloaded or hidden) before you can continue the working with the rest of t

Assume you are creating an order entry and editing application for a book store. An order consists of a product, quantity, total price, payment type including Credit/Debit card acc