Program to accept the input from user, Assembly Language

Write an assembly language program that will:

  1. accept keyboard input of a positive integer value N;
  2. compute the sum S= 1+ 2 + 3 + ... + N;
  3. print (output) the computed sum S.

Note (For example if N=5 then the program will add 1+2+3+4+5 and print 15)

Posted Date: 3/19/2013 6:54:42 AM | Location : United States







Related Discussions:- Program to accept the input from user, Assignment Help, Ask Question on Program to accept the input from user, Get Answer, Expert's Help, Program to accept the input from user Discussions

Write discussion on Program to accept the input from user
Your posts are moderated
Related Questions
Execution Unit (EU) and Bus Interface Unit (BIU) : 8086 consist of two processors called EU and BIU. Two Processors can work parallel. This improves speed of execution. BIU fi

write an assembly program to display triangular star like shape

Basic Microprocessor Architecture and Interface : Introduction: Intel launches its first 4-bit microprocessor 4004 in the year 1971 and 8-bit microprocessor 8008 in the y

I am running a small minecraft server off of my old mac mini, and am having a big issue. My computer isn''t very good, and even just running this server is an issue. I use a comma

CALL : Unconditional Call:- This instruction is utilized to call a subroutine from a basic program. In case of assembly language programming, the term procedure is utilized int

Task One Produce a menu such as the one below (remember to keep to this specification). M E N U 1, Enter Number 1 2, Enter Number 2 3, Display num1 and num2 4, D

The addressing modes for the sequential control transfer instructions are described below:   1. Immediate: Immediate data is a part of instruction,in this type of addressin

I have two homework assignments due in 10 hours for the x86 processor assembly language

segmentation and overlapping in assemble language

You have to write a subroutine (assembly language code using NASM) for the following equation. Dx= ax2+(ax-1)+2*(ax+2)/2