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
- I have the chapter 5 project completed already. This is due tomorrow. Modify the Very Very .Boards project from Chapter 5 to separate the user interface from the business logic.

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

FILE SYSTEM CONTROLS There are 3 file system controls as shown in figure. The drive list box, directory list box & the file list box. The drive list box control is used to exhi

A program needs to be written that is capable of simple image processing. All the images that are available for you to use, can be found on Blackboard in the Assignments section. T

what are the functions and the importance of hierarchy operators

You can employ Do...Loop statements to run a block of statements indefinite number of times. The statements are repeated either whilst a condition is True or till a condition becom

I am having a hard time with calculating APY in my project. Every time I run the program my second APY is blank.

INTRODUCTION TO DATABASE APPLICATIONS   In this section, we define a dialog and tab order that is the order in which the controls will be navigated during the execution. The D

i need to do my final project for my last year bsc honours degree in Business Information systems. I need to develop a system which is operational for hotel management system. th

Create a VB calculator application that appears as in the screen shots below. The user enters numbers in the textboxes labelled Number 1 and Number 2. When a calculati