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
In VBScript, You create user-defined constants using the Const statement. It lets you create string or numeric constants along with meaningful names and let you to assign them lite

MENUS AND TOOL BARS   The Menu options can be checked, enabled, disabled, and popped up on an object. The Menu Object: The Menu control is used to generate a menu in

DYNAMIC LINK LIBRARY - DLL   The DLL are files which can be called when required by the other program that is running in the computer. The DLL files which support the specific

I need a VB6 software for making a soccerboard for 10 teams & automatically generate their fixtures

Mostly time, you just desire to assign a single value to a variable you have declared. A variable having a single value is a scalar variable. At other times, this is convenient to

Shopping Cart Purpose – Allows user to browse while keeping track of the items in which they will purchase at the end on the order page link and this will give a final price for al

The Document: The document contains the user's data. For illustration, after working on a text processor, the user may wish for to save the file. Such an action builds a docum

Databound Controls - A controls use to display the contents of table using Data Control , have to bound each Control to the specific field and the controls are Known as the Data Bo

translate''Q''for insert into element and''Q''delete for deletion element into programming language

Earlier versions of VBScript had no mechanism for making user-defined constants. Constants, if utilized, were implemented as variables & distinguished from other variables by using